How to scroll programmatically after requery

Hi all

We have a form that displays data in a table / grid format with a vertical scroll bar. The block of the "Number of records displayed" property is 30. Let's say that the user scrolls to form #40 (so scrolling the canvas happened already), performs a data entry on form #40 and click process. The button does two things:
(1) call the PL/SQL procedure that updates some data that the form block is based on (this can update the file #41, #42, etc.).
(2) update the block by running execute_query.

The problem is when form refreshes, it resets the canvas view to save #1. The user complains that he needs to reach again file #40 to see the result of the update of the PL/SQL procedure.
We tried to set the current record number to a variable before updating and using integrated go_record to go to that record. However, the view still looks the same. For example, before the update, canvas watch 32 to 62 record (form #40 is somewhere in the middle of the canvas view), but after go_record (40), canvas shows view from 10 to 40. The view is still not right.

What we want, this is the update needs to keep the cursor in the same record (#40) and the folder must be at the same place in the grid as before the update.

The block is on a table of contents (not bunk). How to scroll the table of content so that the user can see the same view as before the update.
I tried to look at get_view_property, scroll_view, but always without success. Help, please.

Thank you.

Published by: rhew on February 17, 2009 21:10

So, let try it with the built-in function Get_Block_Property ("block_name", TOP_RECORD) , then make a Go_Record with the given number.

François

Tags: Oracle Development

Similar Questions

  • How to restore modules after a refresh in FF?

    How to restore modules after a refresh in FF? Thank you!

    How many modules, and what are they?

    In some cases, it is easier to "resurrect" your old profile and use it for reference, because you can then see your old page Add-ons, or use the page to support information of cross-reference between the friendly names of the extensions and the unique ID of the file/folder (if you plan to copy by hand).

    That message has my suggested procedure to regain access to the old settings on Mac: https://support.mozilla.org/questions/1080782#answer-774455

  • How is it that after I put 41.0b1 as a 'update crucial"my youtube DVDVideoSoftware updated buttons are disabled?

    How is it that after I put 41.0b1 as a 'update crucial"my youtube DVDVideoSoftware updated buttons are disabled?

    Maybe it's because the add-on is not longer supported by the latest version of Firefox. You can try to see if a new version of the add-on is available and can be downloaded. If this is not the case, contact the developer so they can inform you of alternatives or when the add-on is working again.

    Thank you!

  • How to scroll in the center of notification without a mouse?

    How to scroll in the tray without mouse.  I can't see all of the items on today.

    Two fingers on the trackpad on my Mac of scroll scrolls up and down

  • How to remove icloud after forgetting password?

    How to remove icloud after forgetting password? iPhone 5 ios 9.1.2 white

    You need to recover the access code:

    https://iforgot.Apple.com

    Alternatively, take a proof that you are the original purchaser of the Apple phone.

  • How to activate Windows after the 3-day grace period?

    HOW TO ACTIVATE WINDOWS AFTER PRESCRIBED PERIOD AGAIN?

    I forgot to activate my windows again after only three days in advance?

    I use a dial connection using a USB plug. It's SmartBro, location Philippines. My number is * removed *.

    I could not activate using the internet because I couldn't connect my dial-up access. I got a prompt to automatically connect bur that he had failed.

    I don't have a landline.

    I tried the phone activation. I got yhis installation ID:

    Can I have the confirmation through your answer ID? Give your could give me, this activates my windows again, even without an internet connection yet.

    Without this activation, I couldn't connect to internet...

    My activation key is: * delete *.

    Currently, I'm in a café of inet, I would be grateful if you could give me a solution to my problem.

    My email is: * address email is removed from the privacy * or * address email is removed from the privacy *

    Hoping for your quick response.

    Thnak you.

    Chris Maypa

    Hello

    Check out the link and follow the steps.

    How to activate Windows XP

    http://support.Microsoft.com/kb/307890

  • HP Photo smart 7520: how to switch color after setting the black HP7520 only

    How to switch color after setting printer black HP7520 only

    Hi junosa,

    I'm glad to hear that you finally found the color prints you need.

    When you change the printer setting with the method, you suggested that he change the parameters by default for the printer all of a work are printed with these settings unless you make changes just before printing. If you what to adjust the setting before each print job uses the method that I provided in my first post answer. That's all what you find easiest.

    With regard to the button apply grayed, apply the button becomes clickable when there was only a modified setting that needs to be saved.

    Please click the "accept as Solution" and the "thumbs up" button up on top of my first response above and other similar issues may find the easiest solution.
  • How to compress files after backup is finished in batch script

    Original title: files compressed
    How to compress files after backup is finished in batch script

    Hello

    Thank you for visiting the Microsoft answers community site. It is better suited for the IT Pro TechNet public. Please ask your question in the TechNet Windows 7 Scripting forum.

    http://social.technet.Microsoft.com/forums/en-us/iTCG/threads

    I hope this helps.

  • How do I programmatically determine the version OMIVV

    How can I programmatically retrieve the version of OMIVV (OpenManage for VMware vCenter integration)?

    That's how I do it manually
    1. connect to https://
    2. in the left menu, select the DEVICE MANAGEMENT
    3 version is displayed under the DEVICE UPDATE

    There is no url in the hyperlink for the management of the unit. This is a javascript action.
    I prefer not to have to hack all the javascript and html to find the source of the information, as this could easily change in a future version, this hack of rendering obsolete.

    There is no SNMP agent
    You can't SSH to the IMO

    I would like to write a script to collect this information on a regular basis as part of the State of my management of environment report.

    Hello

    There is not a way to side plugin to collect the version. You may be able to use other methods of Vcenter for version. PowerCLI should be able to get a list or the specific version of the plugin with the Get-vCenterPlugin command

    https://my.VMware.com/Web/VMware/details?downloadGroup=PCLI550&ProductID=352

  • How to scroll through the label by program which enabled multi-line text

    I am able to display the text in the label with spirals. But I need to scroll the text programmatically. I mean I want to scroll the text up/down by program.

    Please help me. Thanks in advance.

    .

    You can not scroll programmatically. But you can put inside ScrollArea TextArea and scrolling.

  • How to set programmatically the current node in a tree view of the ADF.

    Hello

    I'm trying to understand how to set programmatically the current node in a tree view of the ADF.

    My use case example is quite simple; If we take the sample application ADF Summit where under Management Summit, we have a tree view on the left with a list of high level of the country which in turn contain a subset of customers; then, in the right pane, we the customer detail information.

    What I'm trying to achieve is a solution by which I can add a new customer, commit and then to the tree show the client newly created as the currently selected entry.

    I use a pop-up dialog box to create my new entry of the customer and everything works well in this area, and my newly created folder is saved in the database.

    I know how to force the tree to cool off, but what I can't understand is how to do so, it highlights the newly created folder.

    Any help would be much appreciated.

    Refer

    https://blogs.Oracle.com/jdevotnharvest/entry/how_to_programmatically_disclose_a

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/78-man-expanding-trees-treetables-354775.PDF

  • How to scroll the image in photoshop as the previous CC

    Hi all, I would like to know how to scroll in the last CC photoshop... When I scroll the mouse wheel, he gave in and out zoom instead of scroll... How can I scroll as the previous CC... Thanks for help

    Hi nicholasc,

    Please make sure that 'Zoom with scroll wheel' is uncheked in preferences > tools

    Kind regards

    Assani

  • How can I download After Effects?

    I already asked how do cc 2014 after effects and the response did not help, because I only get options for decommissioning on photoshop, animate, lightroom and a dashboard application that I don't remember. Anyone know a way around this? I want the trial for him and I am also on trial for cc 2015

    Hello

    Please download the application below:

    Direct download links of Adobe CC 2014: 2014 creative cloud release | ProDesignTools

    Kind regards

    Sheena

  • Can someone please tell me how to re - install after effects 2014, because I hate the 2015 version. Its so bad.

    Since I installed after effects 2015, he did nothing else than truble. The record is so lag, he will not play in time real proaley. I can't select my propaly layers etc. Can someone please tell me how to re - install after effects 2014, because this version was much better.

    How to find and install a previous Version of Adobe Apps in CC 2015 | Adobe Customer Care Team

  • How to set programmatically in javascript for validation format dates?

    How do you programmatically set dates in javascript for validation format?

    ' 31/12/2011' doesn't seem to work?

    ourDate.rawValue = '2011-12-31 ';  works

    NOTE: If you have a hierarchy problem, you may need something like

    root.body.table.detail.ourDate.rawValue = '2011-12-31 ';

Maybe you are looking for