Set_Block_Property invoke has caused the earlier enter value get disappear

Hi all,
I got a simple field which set to let user to enter a value and from the entered value user will need to press the button to search for the next display value. I have set when_button_pressed with set_block_property
go_block('ot_mat_iss_head');
Set_Block_Property('OT_MAT_ISS_HEAD', default_WHERE, 'MIH_NO = '''|| :OT_MAT_ISS_HEAD.MIH_NO1 ||''' ');
go_block('OT_MAT_ISS_HEAD');
execute_query;
the above query work fine where I got the next field display with value that what I want. However, the first column that ask user to enter the value was get disappeared. How come ? How to get it display in this case ?
Thanks.
Regards,
Lim

The first column where I ask user to enter value was in the same block with the second column that display the value. Immediately, the second value get display the first value get disappeared after press on the button.This is expected. Because your non-base table item is part of the block you are querying, when you call EXECUTE_QUERY, it clears the block (including any non-base table items) and queries the selected record.
If you want the search value to continue to be displayed in your non-base table item, then move the non-base table item to a Control block (non-base table block). Then the EXECUTE_QUERY will not affect the value of the item.
OT_MAT_ISS_HEAD.MIH_NO1 is a non db field. If I changed to DB field when I execute the button, system will prompt to ask me whether want to save my record.Again, this is expected because Forms recognizes that you have changed a record displayed in your table. Therefore, Forms will ask you if you want to save your changes. If you want to continue to display the searched value in your non-base table item, move it to a Control block.
Craig...

Similar Messages

  • The condition you are adding has caused the query to be invalid.

    I select a column from the structure query: DATA_SET_ID [RDF_STATEMENT]
    I enter a condition: = :P_RSTA_RDSE_ID. (This refers to a hidden field on the page. I have confirmed that the correct value is passed.)
    I click on 'apply changes' and the page returns:
    1 error has occurred
    * The condition you are adding has caused the query to be invalid.
    Previewing the condition gives: (("RDF_STATEMENT"."DATA_SET_ID" = :P_RSTA_RDSE_ID)) which looks fine.
    I've tried a literal - (("RDF_STATEMENT"."DATA_SET_ID" = 1)) - and get the same error.
    I've tried converting to an unstructured query and get 'no data found' where the same query in SQL+ returns the desired rows.

    Mak,
    I will log this as a bug. You may have to recreate the report. Sorry about that.
    Scott

  • Who has changed the Custom Field value?

    Dears,
    Need to know the information regarding how to fetch that who has changed the Custom field value from PWA/MPP.
    Example:
    There is a PDP (say ProjectInfo):
    There is a Custom Field added to that PDP (say Project Status = In Progress).
    Now for ProjectA, someone has checked out and changed the Custom Field "Project Status" from "In Progress" to "Closed".
    I need to fetch the information regarding who has changed that Custom field.
    In which direction should I move: Event Handlers, PSI???? Any other stuff?
    Thanks & Regards,
    Shravan

    Hi Shravan,
    I'm not a developer but I do know that you can use an event handler pushing the resource name and date in custom fields.
    Another way is to use a 3rd-party tool like
    FluentPro Audit Tool.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to find the user entered value is Integer or not?

    hi,
    i want to find, whether the user entered value is Integer or not. If it is Integer, i wanna continue the program. otherwise send an error message. i tried to find for function in API. But i couldn't. can somebody help me with sample code. very urgent.

    Do a Integer.parseInt(<string value>) in a try catch block If a NumberFormatException is thrown, the entered number is not an integer.

  • How to get the User entered value in the Submit request form for a parameter of a concurrent program in Oracle applications.

    Hi All,
    I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
    After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field .  i want to get that string.
    Thanks a lot in advance for your time and help.
    - Vijay

    Hi All,
    I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
    After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field .  i want to get that string.
    Thanks a lot in advance for your time and help.
    - Vijay

  • ITunes keeps shutting down when I open it up.  The message says iTunes has stopped working.  A problem has caused the program to stop working correctly.  Windows will close the program and notify you if a solutions is found.

    iTunes keeps shutting down when I open it up.  The message says iTunes has stopped working.  A problem has caused the program to stop working correctly.  Windows will close the program and notify you if a solutions is found.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If you've already tried something like the above then try opening iTunes in safe mode (press and hold down CTRL+SHIFT as you start iTunes) then going to Edit > Preferences > Store and turning off Show iTunes in the Cloud Purchases. You may find that iTunes opens normally now.
    tt2

  • I was moving bookmarks in safari and 2 complete folders have emptied their contents. The folders are still there. I don't have a working time machine and icloud has caused the relevant folders to disappear from all my machines, iPhone, iPad and iMac

    I was moving bookmarks in safari and 2 complete folders have emptied their contents. The folders are still there. I don't have a working time machine and icloud has caused the relevant folders to disappear from all my machines, iPhone, iPad and iMac as well as thge MacBook Air I was working on. HELP!!!

    Hi,
    There is NO need to put your whole questing in the "Questing Heather" therefore you can TYPE here. In the Text window as I did to.
    Now to your questing:
    So, you moved some Bookmarks and now 2 folders are completely empty.
    I think that they dropped in a other folder during dragging the Bookmarks.
    Did you check ALL of you Bookmark folder if they are there?
    If you didn't delete the they have to be still there.
    Dimaxum

  • Can the Parameter Enter Value screen size be adjusted?

    I have a report that will have up to 4 to 5+ different individual Parameters that will require the users to populate. 
    Since I am using a larger number of parameters the Enter Value screen size is small and not all of the parameters are displayed on one screen.   the users are required to scroll down in order to see and populate the other Parameter selections. 
    Is there a way to adjust the default size of the Parameter enter Value screen that the end users will see when using the Cyrstal Report Viewer?

    Try Service Pack 3, if still not then it's likely the type of parameters you are using.
    Bottom line is if there is no option to change the size of that window. I believe someone asked for this and I entered it in as an enhancement request. Some future version may eventually have the ability to auto-size.
    At the top of this forum you'll see a Feature Request link, add your suggestion there, search first though in both of the links.
    Thank you
    Don

  • FROM WINDOWS (VISTA) A PROBLEM HAS CAUSED THE PROGRAM TO STOP WORKING CORRECTLY. WINDOWS WILL CLOSE THIS PROGRAM AND NOTIFY YOU IF THERE IS A SOLUTION. FIRE FOX UPDATED TO THE LATEEST, I WOULD RATHER NOT HAVE AUTO UPDATES.

    FROM WINDOWS (VISTA) A PROBLEM HAS CAUSED THE PROGRAM TO STOP WORKING CORRECTLY. WINDOWS WILL CLOSE THIS PROGRAM AND NOTIFY YOU IF THERE IS A SOLUTION. UPDATED TO THE LATEEST, I WOULD RATHER NOT HAVE AUTO UPDATES. [email protected] edit

    You may select how and whether Firefox updates, although like most software it may be sensible to keep it up-to-date, it is more likely to remain secure and compatible with other software whilst up to date.
    * for information on the options available see [[Updating firefox]] <--- clickable link ---

  • For Safari, on web pages, including this one, the use of ' (apostrophe) causes erratic behavior in text boxes. A contraction such as "I'v |e " has caused the cursor to backspace, displacing the e when the space bar is hit, or causes a juAsk your question.

    For Safari, on web pages, the use of ‘ (apostrophe) causes erratic behavior in text boxes. A contraction such as “I’v |e “ has caused the cursor to backspace, displacing the e when the space bar is hit, or causes a jump out of the text box and a return to the top a a page when used for the first time right at the beginning of text.
    Other browsers do not have this problem. When will Apple fix this problem?

    From the menu bar, select
    Edit ▹ Substitutions
    and uncheck Text Replacement.

  • Adobe Reader files cause the menu bar & dock to disappear.

    Some files that I download from the internet & open in Adobe Reader Version 10.0.2 cause the menu bar & dock to disappear. If I click on the desktop below this Adobe Reader window they reappear, but disappear once again when I click on this Adobe Reader window. It is not Full Screen mode but something else. Any suggestions on how to view these files in the normal manner would be appreciated. Thank you.

    I've never installed Adobe Reader to one of my Mac's since Apple started providing Preview. I use it on PC's, but that's because it's already installed. The constant security issues and bug issues with Adobe products like Reader and Flash have made me try to just ignore that company as much as possible. On the other hand, some PDF's like forms do not work very well in Preview, but I've been able to get around that.
    From what I've read, those command key shortcuts are supposed to be toggles and could continue to show pdf documents in one of the formats until you change the setting in the programs preferences. When changed, the documents should continue to show up in whichever view you have chosen.
    I found this chart on one of Adobe's support pages.
    The following table shows the full-screen keyboard shortcuts.
    Windows
    Mac OS
                  Ctrl + L activates Full Screen.           
                  Command + L activates Full Screen.           
                  Escape key exits Full Screen.           
                  Escape key exits Full Screen.           
                  Ctrl + 0 shows Fit Page (or full-screen view).           
                  Command + 0 shows Fit Page (or full-screen view).           
                  Ctrl + 1 shows Actual Size. This keyboard command be used while in full-screen mode.           
                  Command + 1 shows Actual Size. This keyboard command can be used while in full-screen mode.           
                  Ctrl + 2 shows Fit Width.           
                  Command + 2 shows Fit Width.           
                  Ctrl + 3 shows Fit Visible. This keyboard command be used while in full-screen mode.           
                  Command + 3 shows Fit Visible. This keyboard command can be used while in full-screen mode.           
                  While in full-screen view, readers can press Ctrl + 4 reflow a document.           
                  While in full-screen view, readers can press Command + 4 to reflow a document. 

  • HT1386 My iPad will not sync with my Mac. It has in the past. I get a message that the sync failed.

    My iPad will not sync with my Mac. It has in the past. I get a message that the sync failed. How do I fix it.  Also, is ther a virus scan for iPads?

    iPad not appearing in iTunes
    http://www.apple.com/support/ipad/assistant/itunes/
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    iTunes for Windows: iTunes can't contact the iPhone, iPad, or iPod software update server
    http://support.apple.com/kb/ts1814
    iTunes for Windows: Device Sync Tests
    http://support.apple.com/kb/HT4235
    IOS: Syncing with iTunes
    http://support.apple.com/kb/HT1386
    Apple - Support - iPad - Syncing
    http://www.apple.com/support/ipad/syncing/
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi Syncing
    http://support.apple.com/kb/ts4062
     Cheers, Tom

  • Switching dynamic tabs causes loss of entered values

    I am running into a fundamental issue with dynamic tabs.
    When the user has multiple tabs open, and he is busy entering values in one tab, and then switches to another tab without saving the values in the first tab, the entered values in the first tab are lost when the user triggers at least one http request in the new tab. If the user switches to the new tab, does not do anything and returns immediately to the first tab, the entered values are still there. I understand that the JSF model update phase is skipped when switching tabs because immediate="true". But the apply request values phase is still performed, so the UI components should still have the submitted value. Somehow, these values get lost when a subsequent request is send while those UI components are no longer visible. I tried changing the rendered property of the regions in the page template to "visible" so the UI components are kept in the component tree, but that didn't help.
    Th idea of temporarily switching to another task, similar to switching browser tabs, is undermined with this behavior because end users don't like it when some of their work is lost.
    Does anybody know a solution for this problem?
    Thanks,
    Steven.

    I think you need to use static instead of dynamic regions that way you can keep the region modification across all the tabs. The visible property on the regions some how its not working for me so I am surronding each region with PageGroupLayout and setting the visible property to it and set rendered property to region. The visible property and rendered property condition can be controlled by the tab action.

  • Blackberry Desktop Software has stopped working. A problem has caused the program to stop...

    I have a Tour 9630 and just installed v6.0 and receiving an error window "Blackberry Desktop Software has stopped working. A problem as caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available."  I have not received any message from Windows after 2 days.  Has anyone experienced this problem?  If so, I would appreciate any guidance.  I have Windows 7, if that matters. Thank you. in advance.

    Hi somewhatstock
    How far did you get with them? Did they have any ideas what might be causing the problem? Trying to work on it myself, so trying to eliminate what others might have tried. Curious why it works on my Desktop however. Losing tethering really causes problems as I rely on tethering with my laptop quite a lot.  
    Any information most welcome,
    regards,
    John

  • Want only the user entered values on the xml generated by clicking the button

    Hi All,
    Here goes the details of the problem.
    1. I have created two textfields(texttfield3 and textfield4) along with an email button in a fragment and binded to an XSD file.textfield3 and textfield4 are user entered fields.
    2. On the design page I have created two more fields texfield1 and textfield2 and binded to another XSD.These two fields are read only fields.
    3. On preview PDF screen whenever you click on the email button,you get a mail option with an xml file attached to it.
    4. whenever you open the xml file,you will get the values of all the four fields.Its given below
    <form1>
    <TextField1>value1</TextField1>
    <TextField2>value2</TextField2>
    <TextField3>value3</TextField3>
    <TextField4>value4</TextField4>
    </form1>
    5.But I want only user entered fields to be displayed on the xml page i.e
    <form1>
    <TextField3>value3</TextField3>
    <TextField4>value4</TextField4>
    </form1>
    6.How can I remove or avoid the read only fields not to be displayed on the xml page???
    Thanks in advance

    This forum is for our hosted services of LiveCycle.  I'd suggest that you repost this question this on the Designer (best choice) or Forms forum.

Maybe you are looking for

  • Cannot open Terminal at all!

    All new in the Mac World, and I don't know if it's something I'm doing wrong or what? The only thing that happens when I click on the app is that the screen flickers, like a window is opened but it isn't. Could anyone help me? I have a Macbook pro

  • Photo not appearing in Calendar

    I created a calendar and alll went well. I closed iPhoto and returned to look at it a few days later. The picture that I used for January does not show up. It just shows white background color. If I view the calendar on the preview pane in view pages

  • Sap ecc(bapi) to Java application (jms) scenario in sap pi

    Hi Team, How to configure SAP(ECC) to JMS scenario with steps.If have any documents please send me. I have urgent requirement please help me. Thanks in advance Regards.. Ravi

  • Local zones do not start when rebooting gobal zone

    HMy solaris host had been working well. Then all in a sudden, all local zones do not start automatically after I reboot the system. Did anybody see this before? Thanks.

  • Problems with JasperReports: InvalidClassException

    Hello everybody, some one could help me with this problem, im using jasperreports 0.6.1, j2sdk1.4.1_05 and jakarta tomcat 5.0.18 ( as webserver), and i got something like that: Exception in thread "main" java.io.InvalidClassException: net.sf.jasperre