Validate from list, do not open lov if value already in lov

Hi,
I have an item and want to validate value from Lov because do not need a code in w-v-i trigger. i set property validate from list for the item to yes but when executing the lov opened even if i entered a value which already exists in lov. i thought that validate from list to yes triggers the list only if value do not exist in the list. i do not want list to open if value already exists in the list. Can someone help me with this? Thanks for your ideas.
Edited by: Tabit7 on 2011-04-08 23:24
Edited by: Tabit7 on 2011-04-08 23:24

It only opens the Lov when the value not not unique, e.g. you have two equal entries in the lov. Also be aware that the validation is done against the first visible item in the lov.

Similar Messages

  • Validate from list pops up the LOV

    Hi, everybody.
    I have a text item attached to a LOV and the validate from list property is set to YES.
    Despite this, i just write into the text item the text '01' .
    Anytime i use go_block('my_block') the LOV pops up and asks me to choose again the value for my text item from the LOV .
    Is this because my text item is connected to the first column of the LOV and
    the first column of the LOV has more than one values of '01' in the list, more than one record that has the first column '01'.
    In case this is the reason, how can i solve this to avoid poping up of the LOV.

    Ok.But all i want to do, is not to show my LOV.
    If i set validate from list=NO, my LOV doesn't show.
    I still want to validate from list but only in the cases when i put a value that is not in the LOV.
    in this case i put a value that actually is in the LOV, so the LOV should not show.
    I don't understand why LOV shows when the value i put in the text item is equal to one of the values of the LOV, only that the LOV contains this value more than one time.

  • LOV validate from list

    Hello there,
    What factors can be performed for don't validating from list, when having a text item conected by a botton which calls the LOV?
    My problem is that I conect properly the text item to the LOV and the LOV to the Record group. At the text item's properties palette, i put YES when asking if validate from list. However, in an enter-query mode, when i insert 'AAA' into the text item, and change the focus, the LOV doesn't appear.
    Why?
    Thanks to everyone who helps me.
    Sorry for my english, i am spanish.

    Those other forms use a different form of querying. They probably never go into Enter Query mode, and instead simply query with a where clause something like:
        WHERE column_1 = :control_block.item_1 and...
    All the forms I write use that format. The user is never allowed to do an Enter Query. They simply enter the control block values (which may or may not have an LOV attached), and then press the Query button.

  • Opened Notes and screen changed from listing my notes to no notes. How do I recover them?  TY

    Opened Notes and screen changed from listing my notes to no notes. How do I recover the missing notes?

    Would you please explain how you did this? Most of my Notes dissapeared after the latest update. I tried restoring them from TM, but nothing shows up and QuickLook only shows (null). I took them from the IMAPnote file under (eventually) CoreData (~Library/Containers...), but that is not working for me. My Notes are synced with iCloud, so my solution may be different from yours.
    Thank you.

  • Validate from list problem

    I have a form in which i have a non-database item.I attached a LOV to it and have set the validate from list to yes..
    but in enter-query mode the list is not getting shown when the value is typed(ie the lov is not shown when the user enters wrong value.validation is not hapenning)
    i have even written key-listval.inside which i have given list_values still the LOV is not shown
    Any suggestions to get the LOV???

    Hi,
    You can try to use the when validate-item trigger, which executes when the cursor navigates out of an item, this happens when user press the tab key to navigate to the next item or when clicking in a different item.
    Validate from LOV works without any additional code when the form is in normal mode.
    When the form is in enter-query mode this won't work, try the key-next-item trigger instead.
    check out the forms online help section:
    "About defining triggers to fire in Enter Query mode" for more info.
    Regards,
    Hugo

  • Validate from list behavior ? help needed

    Hi,
    I have an item whith a lov attached to and the proerty of the lov is validate from list = yes.
    But when a create a record and type the begining of the words eg Jean then when i do key-list-val or F9 the lov returns me all the rows and.
    And when i press enter in the field then the lov shows with Jean% and show me only the names beginning with Jean.
    Why does it only happen when i press enter and not when doing F9?
    Should it not be the same behavior ?
    Thanks in advance.
    PS: it is quite urgent !
    Jean-Yves

    Hi ,
    When you enters a wrong value into a "Validate from List" Item and hit <ENTER> then validation to make sure that the entered value exists within the List and if it is not there , then the forms engine filters the Shows values as the value entered into the Item as helping you to select from the List cause you have entered ambigious Choise and in case no matched entries it display all the list , but in case you display the LOV normally this means you are trying to select a value then no Pre Serach happened unless you specify (Filter Before Display = true) on the LOV properties ,
    Best Regards,

  • Validate from list

    Hello everybody !!
    I've a Lov attached to text-item with validate from list property "yes". I fill the text-item who has the lov attached and lov works very well , but when I create another record the trigger "when-validate-record" fires and the lov validate once again for the same record. How can I avoid this ?
    Hugs
    Rômulo

    You probably set the name of the country in the POST-QUERY trigger. If so, set the status of the trigger record to QUERY_STATUS after doing this.
    Regards,
    Torsten

  • Forms 6i: Dynamically set Validate from List property

    Hi,
    Is there any API to set the VALIDATE FROM LIST property for an item with an LOV in Forms 6i?
    Thanks

    you can use set_item_property to do that dynamically. Look in the help for the values of the built-in

  • Validate from List Property

    i created a form and used validate from list property to TRUE for a particluar item which have LOV.But when table hav too many rows (here i hav 18000 rows) getting too slow....Is this problem is common...? If any one hve any idea about this Please help me...
    Edited by: pms on Sep 11, 2011 10:31 PM

    But when table hav too many rows (here i hav 18000 rows) getting too slow....Is this problem is common...? Yes, this is common when you have a lot of rows returned by your LOV query. In situations like this, it is best to try and reduce the size of the data returned by your LOV. One way of doing this is to enable the Filter Before Display property on the LOV. When enabled, it causes Forms to display a query criteria dialog before displaying the LOV. This too can cause slowness because this option could cause a full table scan to occur. Perhaps a better option would be to make your LOV dependent on other limiting values. For example, if your Form showed a list of all employees in a company you could make your user select limiting data like a department number to help reduce the number of employee records returned by your LOV.
    Craig...

  • Validate from list (Oracle Forms)

    Hi all,
    Does anybody know, how to simulate "Validate from List" functionality from the oracle forms with JDeveloper 10.1.3.
    The case is for example (Empl, Dept), I want to create a table for the empl showing the empl info plus department name and allow the user assign the empl to a given department using only the name and not the department id.
    Many thanks in advance.
    Edited by: user5772728 on Feb 20, 2009 8:56 AM

    Hi,
    there is no list validator like this I am aware of.
    Frank

  • I have three aperture libraries. But just recently two of them (old from 2011) will not open. I get the following error: There was an error opening the database for the library "~/Pictures/Family IIi.aplibrary". Please help, thanks

    I have three aperture libraries. But just recently two of them (old from 2011) will not open. I get the following error: There was an error opening the database for the library “~/Pictures/Family IIi.aplibrary”. Please help, thanks

    Are all three libraries under your account or are they in different accounts? Any other errros on the system?
    Start by doing the permission repair and library repair steps in Aperture 3: Troubleshooting Basics

  • I just installed elements 11 with camera raw 7.1. My  photos from iPhoto will not open in camera raw

    I just installed elements 11 with camera raw 7.1 in my iMac. My raw photo files from iPhoto will not open in camera raw. The elements screen opens without a photo, but camera raw willnot open. Help.

    You need to tell iphoto to send raw files out of iphoto or it will make its own conversion and send a pre-converted file. Go to the iphoto preferences>advanced and turn on this checkbox:

  • I recently bought an Epson Artisan 837 printer. I installed the driver and now Photoshop from CS3 will not open. It quits when the Twain portion of the program starts loading. Does anyone know how to fix this so my printer will work with Photoshop??

    I recently bought an Epson Artisan 837 printer. I installed the driver and now Photoshop from CS3 will not open. It closes every time it gets to the point where it is loading the Twain portion. Does anyone know how to fix this so my printer and Photoshop will work together? Thanks for any help I can get!

    You're welcome. 
    But, no, don't look to  Epson for fixes to their  driver in newer versions, and Adobe has deprecated the TWAIN plug-in.  Hoping for a solution there is futile.  That has not happened and it's never going to happen.  The consensus is that it's pretty foolish to tie up Photoshop to scan.  Honestly.
    Any improvement in the behavior of newer versions of the Epson drivers in that regard would be pure coincidence.
    You need to understand that you never, ever scan "within" Photoshop, as Photoshop has no scanning capabilities whatsoever.  When you use the Import > Twain plug-in all you are doing is blocking Photoshop while you call up the stand-alone Epson scanning software.  If you think about it, its most inefficient.
    VueScan has a pretty powerful scanning plug-in that can be called from the Impost menu—if you insist.  VueScan is not free, but it's a pretty good value, IMO.
    As for the Epson CD printing software, I have no clue.  Sorry. 

  • How to disable an LOV wrt value in another LOV?

    I have a javascript function that works fine if P2_BANK_ASSIGNED is a text item. But if I change it to an LOV is doesn't work. How do I disable an LOV on value of another LOV?
    <!--===================================================================-->
    <!--FUNCTION TO DISABLE LOV BANK ASSIGNED IF LOV TRIAL IS <> 0 -->
    <!--===================================================================-->
    <script type="text/javascript">
    function disBankAssigned(){
    var lReturn = $x('P2_TRIAL').value;
    if (lReturn == 0 ) {
         $x('P2_BANK_ASSIGNED').readOnly = false;     
    else {
         $x('P2_BANK_ASSIGNED').readOnly = true;     
    </script>
    onchange="disBankAssigned();"
    regards
    Paul P

    Try $x('P2_BANK_ASSIGNED').disabled = true;     (or false)

  • Validate from List property of dynamically attached LOV

    Dear Oracle Gurus,
    I have multi record block , the fields are Argument_name,Argument_Code ,argument_lov
    displaying two fields . data is populated at run time
    user has to input for the argument_value according to the argument_name displayed
    it may look like
    Argument_name Argument_value
    Date of Join User has to input
    Branch office user has to select from a LOV
    Dept User has to select from a LOV
    the LOV's underlying Select statement will fetch data from a table based on other field Argument_Code
    The LOV is attached dynamically for each row based on a value for the field argument_lov value will be Y or N
    IF value for a argumet is Y , the LOV is attached with SET_ITEM_PROPERTY in the When NEW RECORD INSTANCE Trigger
    when user moves to the argument Date of join there will be no lov and the user has to type out the data
    whereas for the argument Branch Office , user can select from a LOV
    now the user has to press the F9 key to invoke the Lov and then select
    whereas we wanted in this way.. that the user can type the first character and the value automatically get selected
    if the user types wrong data then the LOV to be displayed
    For this we used the SET_ITEM_PROPERTY with VALIDATE_FROM_LIST, Property_true in the same trigger.
    we have record validation trigger at the block level .
    But it didnt work out exactly when ever the user moves from a record having LOV after selecting. the other field which is not having a LOV displays a lov with values belonging to another field and asks to select from the list . For example the date of join field displays the lov for dept and asks to input
    please guide me in this regard
    with warm regards
    ssr

    But when table hav too many rows (here i hav 18000 rows) getting too slow....Is this problem is common...? Yes, this is common when you have a lot of rows returned by your LOV query. In situations like this, it is best to try and reduce the size of the data returned by your LOV. One way of doing this is to enable the Filter Before Display property on the LOV. When enabled, it causes Forms to display a query criteria dialog before displaying the LOV. This too can cause slowness because this option could cause a full table scan to occur. Perhaps a better option would be to make your LOV dependent on other limiting values. For example, if your Form showed a list of all employees in a company you could make your user select limiting data like a department number to help reduce the number of employee records returned by your LOV.
    Craig...

Maybe you are looking for

  • Strange glitch involving user accounts on my machine...

    Ok, this all started yesterday, I don't know if this is just some weird glitch or if it some sort of function I'm not aware of, that was suddenly activated. There is 2 user accounts on this computer, M(which is myself) and A(my mother)).My father was

  • Linkage Error in Mapping and Operation mapping testing for Synchronous in NWDS

    Dear Experts, Hope you all are doing fine.. I am working in a synchronous scenario Proxy via SAP PI 7.4 to JAVA Application supporting JSON.I wrote JAVA program to convert JSON to XML and while performing test for the JAVA mapping in response structu

  • Oracle Environments

    Hi all I have finished an Oracle apps dba job , i'm now working as oracle apps dba. in the interview i had been asked about the oracle environment i work with . WHAT THAT THE QUESTION MEAN ?

  • IPhone case...what is the best?

    What is the best iPhone case out there? I want one that doesn't take away from the elegant design, doesn't collect dust like the silicon cases do, but I want it to be well protected.

  • New Camera so why won't LR import?

    I've had LR 4 and use it with my Nikon D90. I just upgraded to a Nikon D7100 but LR only imported a few. Do I need to upgrade my LR?