Remember the last record, a user has been on

Hello. I have an auto refreshing form (form 10g). It refreshes every 5 seconds using a timer. If the user has placed the cursor over a particular record just before the form of re - question I want to focus the cursor to that record after the form of re - questions.

I'm creating a global variable,: global.current_record: =: system.cursor_record, in the trigger once - new - Record - Instance. But I can't seem to find a logical place to put the necessary code, Go_Record(:global.current_record), which moves the cursor to the record immediately after the screen re - questions.

Suggestions for the location of this code would be greatly appreciated. Thank you.

With regard to performance: refresh every 5 seconds would be a much bigger problem. If your query will retrieve more of, say, 100 records that, often, it will then be a busy application. In fact, I could manage using groups Records and does NOT update the block until the form has detected a change in the recovered data.

The loop below would be about as quickly as a go_record. IF your query retrieves hundreds of lines, ALL lines must be put into memory each request, and IT would be a major performance problem.

With regard to the search for a record:

Procedure Requery_block is
Begin
  If :System.cursor_Block <> 'BLKNAME' then
    Go_Block('BLKNAME');
    If not form_success then
      Raise form_trigger_failure;
    End if;
  End if;
  If :System.Cursor_record > 1
  And :System.Record_status != 'NEW' then
    Part_id_old := :blkname.Participant_Id;
    Call_Q_old  := :blkname.Call_Queue_Sts;
  End if;
  Clear_Block(No_Validate);
  Execute_Query;
  If Part_id_old is not null then
    Loop
      Exit when :System.Last_Record = 'TRUE'
             or (    :blkname.Participant_Id = Part_id_old
                 and :blkname.Call_Queue_Sts = Call_Q_old );
      Next_Record;
    End Loop;
  End if;
End;

If your block is ordered by the Participant Id and call the status of queue, you can change the "exit when...". "to stop after what happened to the old line should have been (if the old line has disappeared):

      Exit when :System.Last_Record = 'TRUE'
             or (    :blkname.Participant_Id = Part_id_old
                 and :blkname.Call_Queue_Sts >= Call_Q_old )
             or      :blkname.Participant_Id > Part_id_old;

Tags: Oracle Development

Similar Questions

  • Bottom Line: I HATE Firefox 4. It gives me all sorts of weird problems not to mention the frequent freezing MAC OS x 10.6.7. I want to go back to the last #3. It has been impeccable. I tried to leave it in the comments, but he would not submit! BUT

    Bottom Line: I HATE Firefox 4. It gives me all sorts of weird problems not to mention the frequent freezing MAC OS x 10.6.7. I want to go back to the last #3. It has been impeccable. And I tried to present this as your comments but when I hit the button submit, again, it would take. Grrrrrrrrr

    http://support.Mozilla.com/en-us/KB/installing+a+previous+version+of+Firefox

    http://www.Mozilla.com/en-us/Firefox/all-older.html

  • XP does not remember the last record in the file

    I ran a microsoft utility to repair a registry problem under xp.  now none of my programs don't forget the record '' last saved as. '' Each always default record on the desktop.  Where in the registry may I to address?

    It is specific about where you want to save your program files. It is not the same for all programs.

    Use this program called TweakUI and change settings.

    TweakUI
    http://download.Microsoft.com/download/f/c/a/fca6767b-9ed9-45a6-B352-839afb2a2679/TweakUiPowertoySetup.exe

    See also:

    http://forums.techguy.org/Windows-XP/912279-solved-how-do-i-change.html

  • I can tell the last time a file has been opened or copied

    I suspect that someone has consulted a private CD files and made a copy. Can I check this one way or the other?

    # This is not possible.  A CD is read only support and no attribute file is updated when a file is accessed.

  • Windows Mail: when I try to send an email I get the following error number: 0x800CCC67 only developed in the last few days and has been intermittent now seems to be permanent.

    Message received is:

    Could not establish an SSL with SMTP server 81.103.221.11:465, SSL_connect error 10054', Port: 25, secure (SSL): no, Server error: 421, error number: 0x800CCC67

    Hello

    • Are you able to receive emails?

    You can follow the steps under "I can receive, but not send, send messages" in the following article:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Windows-Mail

  • Properties of the file - Date of the last recorded

    Hello.

    I'm having trouble understanding the properties of the file, as "Last record Date" (DLS) and "Date modified" (MD).

    I asked that the last of them, MD, has been changed whenever the content has changed. But Distribution lists must be updated also.

    However, I have a file which has the DLS on 2007 and MD 2014 and the 'last impression"also is 2014.

    How is that possible?

    What has changed the date the content of the file was really the last?

    I would be grateful if someone could help me understand this.

    Thank you,

    Nuno Roque

    Modification date is when the file got changed on that hard drive.  Even if you have never opened the file, just drag-and - drop it to drive flash (for an example) would last updated date change, because the file on this disk changed really.

    Properties such as "Date of last recorded" and "date printed" are stored in the file itself, such as metadata and are updated no not by disk or operating system, but by the design (such as Word) program.

  • I can't update MS windows, IE & Office files. The error code I get is 80246008. Last update successful prior has been KB2636927 may 18. I use Norton 360.

    I am running Windows XP Pro SP3 32-bit.  The latest updates that do not include KB2685939 and 11 other people.  I received the error code 80246008.  Last update successful prior has been KB2636927 may 18.  I am also running Norton 360 and Advanced System Optimizer (by Systweak).

    Hi John,.

    I suggest you to follow the steps and check if it helps.

    Error message when you search for available updates on the Windows Update Web site or on the Microsoft Update Web site: "0 x 80246008.

    I hope this helps.

  • I want to disable a product but the computer on which it has been recorded on is no longer functional. How can I activate this product on a new computer?

    I want to disable a product but the computer on which it has been recorded on is no longer functional. How can I activate this product on a new computer?

    The product is CS3 Web premium. It was recorded on 2 computers in 1998 and the two are no longer working. I have all the disks and the original serial number.

    Serial number and activation support (no-Cloud) https://forums.adobe.com/thread/2041990 to adjust the number of activations

  • Dialog file save forgets the last record of consultation: (Windows XP)

    Whenever opens the dialog "Save" now always default to the my documents instead of the selected folder the last time that a dialog box "Save the file" or "File Open" has been used. This problem affects most Microsoft applications (Notepad, Paint, Word, Excel, etc.) on my Windows XP SP3 System.
    It is interesting its opposite, the 'Open' dialog box only no by default the My Documents folder, unless the "Save file" dialog box will open in front of her. So, it seems that the "Save File" dialog is changing the 'active' in My Documents folder whenever it opens. Someone at - he of the clues as to why this can happen and how to get back to a normal behavior?
    It's time to time very waste to modify records whenever I have save or open a file and caused inadvertently save me files in the My Documents folder when I forget.

    I discovered later that the problem was caused by the objective document Management System, and it is part of their intended design 'big brother' to allows you to use their document management system to save the files. I was very pleased with him removing my system, which restored a normal behavior of the Save dialog window.

  • The product key you entered has been blocked for use by Microsoft

    Last fall, I bought Windows 7 for my new computer. I bought it from Microsoft, so I knew it would be authentic. Last week my computer crashed and I had to reinstall Windows 7 from the CD. When I type in my product key, he said, "the product key you entered has been blocked for using Microsoft." WHY?
    I don't know what other information you might need. But here's what I can tell you. I have the 32-bit software. I don't know what else you need. It's frustrating to seriously. I don't want spend more money to buy another product key. This would make me happy.

    Lydia

    Have you tried to restart by phone?

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

  • I installed the captain and my mac has been freezing on step "Configure your mac" for 24 hours. How do I please you?

    I installed the captain and my mac has been freezing on step "Configure your mac" for 24 hours. How do I please you? It is just to show the "set up your mac" and the turning circle Rainbow

    Reset the SMC. Choose the method for "on Mac Laptops with non-removable battery.

    https://support.Apple.com/en-us/HT201295

  • Siri will not stop me give a military even if time the "time of 24 hours' has been disabled in my settings.  How do I change AM/PM?

    Siri will not stop me give a military even if time the "time of 24 hours' has been disabled in my settings.  How do I change AM/PM?

    What you have for country & region and what default language.

  • Repositioning of the authorized system DLL: the user32.dll system DLL has been moved in memory.

    ERROR MESSAGE

    Repositioning of the authorized system DLL: the user32.dll system DLL has been moved in memory. The application will not work correctly. The move took place as C:\WINDOWS\system32\SHELL32.dll DLL occupied an area of address reserved for Windows system DLLS. The vendor supplying the DLL should be contacted for a new DLL.

    PROBLEMS

    This error causes my Calculator do not open it, also not allowing my flash drive to date, Chrome, Nokia PC and more. There also cause Chrome, Nokia PC, Flash player and other programs do not to install. Therefore, I would like to Note that system Restore will not restore the computer.
    MY COMPUTER DESCRIPTION
    Microsoft Windows XP
    Home Edition
    Version 2002
    Service Pack 3
    QUESTION

    (1) which can caused a user32.dll / corrupt relocated in memory, dll files are missing?
    (2) the error message says move. What are the step to go to find the DLL that comes to mind? are how we go about replacing?
    (3) how do I fix this?
     
     
    DLL system. User32.dll

    Hello

    Let us first start the sfc scan and check if there are any file system corruption.
    a. to do this, click Start, click principally made programs, Accessories, right-click on command prompt and then click run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click allow.
    b. type the following command and press ENTER:
    sfc/scannow
    The sfc/scannow command. analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    More information on SFC scan found in this document:
    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)
    http://support.Microsoft.com/kb/310747

  • a buffer on which has corrupted the internal status of programs has been detected. Roxio

    Start the computer to the top I get two error messaged witndows the first titled_Microsoft Visual C++ RUntime Library and reads American Saturation detected Programs...s\Roxio Shared\9.0\SharedCOM\ROxWatchTray9.exe

    A buffer on which has corrupted the internal status of programs has been detected.  The prgram cannot continue to run safely and must now end.

    The second is the runtime error:

    Program:... .OMMON SharedCOM Shared\9.0\SharedCOM\ROxWatchTray9.exe

    R6025-pure virtual function call

    I don't know what it is and what to do about this.  The only change was the installation of Norton Antivirus 2010 two days before.  Anything downloaded or modified.  A system restore did not complete.

    Any help is appreciated

    Neil

    Hi Neil S,

    This is due to a request from Roxio is trying to launch at startup. Follow the suggestions in the article below to solve the problem.
    http://KB.Roxio.com/Search.aspx?URL=/content/KB/MyDVD/000110CR¶ms=

    Bindu R - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The serial number on the bottom of my laptop has been rubbed off. I can find it somewhere in the system?

    Original title: my serial number

    The serial number on the bottom of my laptop has been rubbed off.  I can find it somewhere in the system?

    Hello

    If the operating system is preinstalled, as it appears as the product key sticker was on the bottom of the laptop, NO, you will not find a product key that you can use for any purpose useful in your system.

    The only product key you would find in your system is the manufacturer factory Installation product key that is used for multiple facilities only during the original production.

    If you want to reinstall the operating system, contact the manufacturer and ask him either send you recovery disks to reinstall the operating system, what they should do for a small cost and also ask them if you have a recovery partition on your laptop to do the same thing, which is to reinstall the operating system.

    None of these methods relocation normally requires that you insert a product key when reinstalling.

    See you soon.

    p.s., serial number (SN: xxxxx) is to do with the identification number to the manufacturer if you ever contact them so that they can search for details of your laptop and there's nothing to do with the product key.

Maybe you are looking for

  • I recently installed 29,0 FF and found a lot of problems with it, Noia 4 does not work, neither does Fox clocks and other issues. Have they been corrected 29.1?

    Is FF 29.1 that FF 29,0 where we users lose control of our browser and can not customize to our liking. If Yes, how do I stop the noise annoying ups tell me to install because of security issues or not I stay with 28.0 FF. Thank you people for any an

  • Error code: 0 x 663

    Was started when I tried to install the update for .NET Framework 3. It failed and I found indications that told me to uninstall all versions of the .net Framework, then reinstall one by one. I have .net Framework 1.1 installed and when I went to Mic

  • Would you recommend to a 400mm lens of good quality for my EOS Rebel T3i

    I want to upgrade a 250mm lens to a goal of 300 or 400 mm for my EOS Rebel T3i.  I know that some of the canon lenses are incompatible but my technical skills are lacking so I don't know the best lenses for my camera.  Suggestions?

  • 75xx/77xx adhesive Touchpad?

    Everyone managed to replace the Council of touchpad on these models again?  (7741Z specifically, 7551 is the same) Bought the naked PCB and removed original on board the palmrest, but... what kind of glue should be used to re - attach the new Board o

  • Crashed!

    Don't know how or why it happened, when I try to open a software I get an error message saying that the urlmon.dll is missing.  When I try and open the Control Panel, the computer, documents, I get the same error message indicating that the urlmon.dl