LOV pops up after commit

I have a text field that has an LOV associated with it. The LOV is set to display automatically whenever the user navigates into the text field. Unfortunately if the user selects the field uses the LOV to update the field and then commits the Form the LOV pops up again. It seems that Forms navigates to the text field after the save. I want the LOV to appear when the user navigates to the field but not if the user saves while in the field. Is there a way to make it work that way?
Thanks

You can try this in a Key-Commit trigger:
IF :System.Cursor_Block='your_block' THEN
Go_Item(... another item without LOV ...);
END IF;
commit_form;

Similar Messages

  • Re-populating values in data block after commit

    I have a form with 2 tabs. The user can create an event in first tab and then associate/disassociate the event to data_points in the second tab (associate_event data block).
    Say, I create an event, and query the records affected by the event in second tab, 5 records are retrieved. I press the associate_to_event push button and hit Save. All the 5 records get associated to the event, but as the associate_event data block is based off a view with instead-of triggers, I do not get any message saying 'these many rows were affected'.
    I am OK with not getting the message, but atleast I should re-populate the values in that block so that the user can see that the changes were made.
    So I created a key-commit trigger on the associate_event data block. The code in that trigger is as follows:
    do_key(commit_form);
    repopulate_values;
    But my form is just sitting there (taking long to fiinish and hence timing out). Is there any other way of doing this?
    (Also on another note, if I repopulate the associate_event datablock, the status of that block will be changed (as I am proceduraly assigning values to the block ) and then when user wants to exit the form, it will agaiin ask for 'Do you want to save the changed you made?' How do I avoid it?? Do I create a global variable and assign it some value say 1 when called from the key-commit trigger and check somewhere ?? if the value is '1' then dont pop-up that message )
    Thanks in advance.

    Thank you Magoo.
    I am now able to re-populate the values. (The way my form was sitting there, made me that it was going in an infinite loop, but I could not point out what was causing that. Thanks!)
    But my data-block associate_event retreives multiple records, therefore
    "set_record_property ( :system.cursor_record, 'associate_event', status, query_status ); --> no ask for commit after repopulate_values ... "
    does not work. And if I select Yes from the pop-up, I am getting the following error 'ORA-00933: SQL command not properly ended'. I checked the error and some how the update statement is incomplete. (This error does not/did not occur earlier when I just retrieve data. Remember, its coming from a view and the datablock is getting populated proceduraly, therefore everytime I wish to go out of the form, even after a retrieve , I get the message. (Which is fine with the customer.) So I dont get the 'ORA-00933: SQL command not properly ended' , when I press yes !! (But it tries to a insert and not an update at that time and I have a instead of update/insert trigger on the view).)
    How do I get rid of the pop up, after the commit. I could not find any similar set_block_property :(.
    Or should I suppress the pop-up in key_commit, or do another commit-form after repopulating data??

  • I am unable to open Calendar on my iMac - this occurred after installing Security Update 2015-002.  I don't know if related.  A message pops up after several minutes saying Calendar quit unexpectedly (but it never really opens). How do get Calendar b

    I am unable to open Calendar on my iMac - this occurred after installing Security Update 2015-002.  I don't know if related.  A message pops up after several minutes saying Calendar quit unexpectedly (but it never really opens). How do get Calendar back?

    Hi Magsrobby,
    Welcome to the forum and thanks for posting. I'm really sorry to hear you've had so many problems. I can look into this for you if you wish. Drop me an email with the details. You'll find the "contact us" form in the about me section of my profile. Once I have the details we'll take it from there.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • "Are you sure you want to shut down your computer?" prompt pops up for no reason and continues to pop up after selecting Cancel. How can I stop this?

    "Are you sure you want to shut down your computer?" prompt pops up for no reason and continues to pop up after selecting Cancel. How can I stop this?
    Mac Pro. OS 10.6.8

    Then I suggest you read this thread regarding the 30" Apple Cinema Display and that particular message pop up... several possible causes... common denominator, the display.
    http://forums.macrumors.com/showthread.php?t=617367

  • TS3697 There is no camera roll download pop up after connected to iTune, to solve that I used Photo Transfer App to download the Photos, but how can I delete the photos in the camera rolls, as there are 9000 photos in the camera roll

    There is no camera roll download pop up after connected to iTune, to solve that I used Photo Transfer App to download the Photos, but how can I delete the photos in the camera rolls, as there are 9000 photos in the camera roll

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • After commit current row is no longer highlighted

    JDeveloper 11.1.1.20.
    Scenario: a master detail page where master and detail are both ordinary ADF table ( NOT read-only).
    If I place the cursor on a master row and do a click the row is highlighted.
    If I do a createInsert operation (with a button) a new row is created above the previous mentioned row.
    Problem:
    If I do a commit after the new row is filled with data sometimes the newly made row is now longer highlighted after the commit.
    The newly created row is stil active. This is seen by the fact that if I subsequently creates a new deatil row it is correctly connected to the newly created master row.
    And - after the newly created detail row is created the master row is again highligted.
    Any ideas?
    Best regards
    Erik

    Hi,
    To keep highlight the selected row do some operation in bean ,Get selected row and set that row again after commit
    Check
    http://jobinesh.blogspot.com/2011/01/declaratively-setting-current-row-key.html

  • Sender agreement not updated in XI cache after commit

    Hi all,
    somehow none of my created sender agreements appears in the XI cache after commit. I also did a complete refresh of the XI chache.
    Any ideas?
    Thanks!
    Denis

    Hmm,
    I have created sender agreements for SOAP channels, this would explain why I could not see the agreements...
    Actually I am wondering why the 'test configuration' tool in the ID brings up an 'java.io.IOException' in the receiver determination. Prior to that the sender agreement lookup fails. So I thought it's the XI Cache...
    I restarted the J2EE engine but the problem remains.
    Any other ideas?
    Thanks so far!

  • I just got the 5s, every time in try to update my apps it's asking for a second password to an Apple ID that is not mine-- it asks for mine and then another one pops up after I enter mine .what do I do?

    I just got the 5s, every time in try to update my apps it's asking for a second password to an Apple ID that is not mine-- it asks for mine and then another one pops up after I enter mine .what do I do?

    where did you get this phone from

  • I get a window pop up after every click into a new site that reads : Safari is no longer responding because of a script on the webpage "    ". Do you want to stop running the script, or let it continue? If I  click on continue it just continues,

    I get a window pop up after every click into a new site that reads : Safari is no longer responding because of a script on the webpage "    ". Do you want to stop running the script, or let it continue? If I  click on continue it just continues, stop, it stops.  How to correct this annoying message?

    Disable Javascript for those webpages.  Note, your Javascript is probably antiquated by now.  Try a different web browser, or contact the website and let them know they aren't as accessible as they could be*:
    http://www.macmaps.com/browser.html

  • Pop-up after saving invoice in MIRO/MIR7 does not appear during replay

    Hello All,
    I have a problem with the execution of the eCATT Script for Transaction MIRO and MIR7. After the document is saved/posted in MIRO we get a pop-up with the FI document number and a few other information. While recording, i am able to get this pop-up. But while i replay, the script stops in the step where i press save and the document number is displayed in the status bar.
    Normally this would not be a problem as i will be able to check for the document number from the corresponding table. But in one scenario where i have to park an incoming invoice using MIR7, i need to specify the department at the end. This step occurs as a pop-up after i press save similar to the pop-up with the document numbers. Now, if i do not specify the department, subsequent steps in my process will fail. I am unable to find an alternative for this.
    Has anyone faced this issue while replaying MIR7/MIRO? Please help,
    Regards,
    Sidhaarth
    Edited by: Sidhaarth V N Mohana on Nov 21, 2011 2:18 PM

    > i am not able to capture the asset number that got generated >after doing the call transaction.MESSTAB returns no value
    are you sure..? did you check the messagetab check all the message variable once again
    MSGV1
    MSGV2
    MSGV3
    MSGV4

  • Undo/redo generate 'Save Changes to filename' pop up after 3 or 4 clicks.  Is there a way to turn this off?

    Running into issue with undo/redo(ctrl-z,ctrl-y) generating 'Save Changes to filename' pop up after 3 or 4 clicks.  Is there a way to turn this off?

    Sounds like some strange shortcut key conflict.
    The first thing to try is Deleting Corrupted Cache in DW.  Be sure hidden files & folders are enabled in Windows Explorer.
    http://forums.adobe.com/thread/494811
    If that doesn't help, try Restore Preferences
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    Nancy O.

  • A way to change metrics to 1 digit after comma?

    Hello. I have just noticed Flash CC is using 2 digits after comma, and im just wondering if there is a way to change it to use only 1? In my work i ususally have to avoid having any other digit after comma in symbols position other than 0 and got used to quickly running trough tabs and stroking "end" and "backspace" to make everything more even so its sharper, now when there are 2 digits i have to stroke backspace twice (and many times forgeting about it due to years old habit). For some of you it might sound trivial problem, but when you multiply it by bazilions of stuff i have to do with deadline "yestarday" every bit of stuff i have to do even bit longer in the long run gives me a lot of wasted time. Its not a big problem, but would be awesome if i could make it easier.

    And while im on that "quality of life" question for someoen who has to make millions of banners very fast:
    Is there a way to make objects moving snap to integer positions? SO when i move them around the workspace, they dont land on non-round positions? I would like to avoid putting them on for example: 10.70 - 230.40 but on 10 - 230. Would really appreciate any tip of how to do that.
    I have already tryied "snap to grid" and" snap to pixels" but it just puts it on half of pixels like 10.5 - 230.5 and that results in blurry bitmaps.

  • Does Update function module gets executed after Commit Work?

    Hi Gurus,
    I have a BAPI with a Commit work. Does update function module V1 , V2 - i need mainly about the sequence of V2, gets executed after Commit work or before Commit work.
    Thanks

    Pl refer to SAP help on the same as follows.
    https://help.sap.com/saphelp_nw04/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/content.htm
    Regards,
    Naveen Vishal

  • Iterator refresh after commit

    Hi,
    I have three tabs in my page , and in each tab , i have separate taskflows.
    The first tab taskflow contains a jsff which has lets say master table iterator i.e departments iterator.
    In the second tab, i have a table based on read only query, but when i click on add button, i will be inserting in to detail VO (employee VO) and using postChanges() .
    so that read-only query based table gets the new data.
    now when i click on save button and commit , the iterators in taskflows of tab1, tab2 are pointing to first record rather than the current record.
    1) even i tried with having an action for the 'save' button and navigating to method activity which sets the iterator to current row.
    When i am returning back to taskflow,i am still seeing the iterator pointing to first record rather than the current record i intend to see.
    could anybody tell me why iterator is pointing to first row after commit()
    i don't have 'refresh' -- if needed for taskflows. its default.
    for transactions, datacontrols, its default for my taskflows.

    I generally retain the previously selected row using the following code in my VOImpl after every executeQuery().
    public void executeQuery()
    // current row key if any
    Key currentRowKey = null;
    Row currentRow = getCurrentRow();
    if ( currentRow != null )
    // get current row key
    currentRowKey = getCurrentRow().getKey();
    // super call
    super.executeQuery();
    if ( currentRowKey != null )
    // set current row now using previously stored key
    Row[] rows = findByKey( currentRowKey, 1 );
    if ( rows != null && rows.length == 1 )
    setCurrentRow( rows[0]);
    }

  • My premiere elements and photoshop 13 won't pop up after I downloaded it. Nothing happens. Lol what's going on? Is it because my labtop needs a new battery? Doesn't make any sense....

    It won't pop up after I downloaded it. This is very annoying....

    Nobody can tell you anything without proper system info or other technical details.
    Mylenium

Maybe you are looking for

  • I have an IX6550 which I understand can print up to 563cms images. Trouble is I can't get it to do.

    Hi,  I am new to this forum but really need some help with my Canon IX6550.  I use it on a Mac Mini running OSX.  I use Lightroom and Photoshop CS6 I understand that it can print up to 563cms images.  I have set up a custom page and when I preview th

  • Payment transaction report

    Hi all, Is it possible to print a daily payment transaction report which will show customer numbers, invoice numbers, and amount paid, etc? Thank. Chloe

  • Can't export to Photoshop

    After I hit the "Edit" button in lightroom 2 (I have Windows), the top left corner says "preparing file for editing" puts a new copy in the filmstrip and then just freezes. Any Ideas what I can do? Thanks

  • Recovery Disk after Ubunti install

    ***HP Pavilion dv6 OS Windows 7 Home Premium OA 64-bits / Bootorder: 1st device is CD/DVD ROM Drive***Hi, I try to help a colleague but I'm facing some problems. Shortly after the purchase he deleted the recovery partition, few weeks ago his password

  • How can I use a non-NI card in LabVIEW RT environment

    We built up a LabVIEW RT environment with LabVIEW 7.1 and relating drivers. There is a problem that we use some non-NI cards in this system and we did not know how to install the dll driver. Could you give me some ideals? Thanks a lot!! Regards, Yang