Can I specifiy initial search for Popup LOV?

I have a popup LOV in an updateable table that works great (thanks to help from this forum!).
When the popup LOV first opens, I would like to have a default search pre-executed since I can predict the search the user will want to see initially. The search will narrow the records down to a handful of results which the user will need to pick from.
Is it possible to popup an LOV with a search already executed?

Hi Albowicz,
I tried to adapt the popup template to do this, but there's more work then I thought.
I would have thought that if I put into "Filter Text Attributes" of Search Field a value="<your initial search>" it would have taken that, but no. APEX doesn't see I entered that and will create an empty value="" nevertheless.
But you can still use my idea, by adapting the popup template, by using javascript in the "Page Body Attributes", where you call a function that set the field to some value ( document.forms[0].p_filter.value="Dimi";).
Alternative you may have a look how to create a custom popup page: Re: how to create popup LOVs with multiple columns and filters ?
Hope that helps,
Dimitri

Similar Messages

  • Only 2 choices for popup lov in an updatable report ?????

    Help please !!!!!!!
    Another question regarding an popup lov item in an updatable report
    The is only 2 choices for popup lov :
    popup lov(named lov)
    popup lov(query based lov)
    and if I want to display a descrition and return a key ?????
    Thnaks for help!

    jina--
    please try to not bump your posts up after only a few hours. i'm sure you understand that, but i thought i'd say it just in case. about your issue, you can create your own tabular form and use htmldb_item.popupkey_from_query or htmldb_item.popupkey_from_lov to achieve your desired effect. there's a great howto doc on manually creating tabular forms at..
    http://www.oracle.com/technology/products/database/htmldb/howtos/tabular_form.html
    and know that i've logged your request to have this feature available declaratively.
    hope this helps,
    raj

  • I just highlighted and changed the artist name of about a hundred songs in my library.  This was an accident and I want to change them back. I can't "undo" or search for artists' names online. Any way to fix this? They are still highlighted.

    These were all songs I had ripped from old CDs, lot of which, I no longer have. I can't remember that artists' names for all these songs.  They are all "oldies" from the fifties and I just accidentally changed the artist for all them to Fats Domino. I'd had them all highlighted because I had done a batch change of their genre to Oldies. I couldn't tell that they were all still highlighted after that change because I could only see two of the songs at the time that I changed the artist name.  Is there any possible way to undo this?  All the tracks are still highlighted from the naming operation. I can't search for the artists' names online because I didn't purchase them from iTunes.  Any suggestions would be greatly appreciated.  Thanks!

    I found one other way to do it.  I just deleted them all out of my iTunes library. Now I can re-import them from Window's My Music file with the original artists' names intact.
    Thanks for your help, Matt!

  • Can SES support 'Concept Search' for Japanese

    Hi all,
    My customer want to know whether SES support 'concept search' for Japanese.
    In the following white paper, it said 'Concept Search and hit clustering supports the most common languages of Western-and Eastern European origin. Oracle plans support for Japanese,Chinese,and Korean in a subsequent release'.
    http://www.oracle.com/technetwork/search/oses/overview/ses-technical-whitepaper-11-131406.pdf
    If the latest version of SES does not support this function for Japanese, can you tell me which version will support this function for Japanese or oracle have not decided which version will deal with it?
    Thanks
    Qian

    My bad. I assumed that since the iTunes Store had the genre "Japanese Cinema" listed, they would have movies for sale in that category. However, it appears that a search of that genre doesn't generate any results. Sorry
    You should submit a complaint about this here: http://www.apple.com/feedback/itunesapp.html

  • Link from where I can download Oracle Ultra Search for Oracle10g

    Hi All,
    I need to install oracle ultra search on Oracle10g database. If anyone know the link from where I can download it, then kindly share.
    Thanks
    Sunny

    Hi,
    Don't know If I am asking the right question or not but isn't this doc. talks about the configuration part of the Oracle Ultra Search which needs to be
    done once the Installation part is done.
    I have oracle 10g database installed on win2k3 machine and now I wish to install the Oracle Ultra Search on it. Is there any patch/update available for
    installing Oracle Ultra Search. As per the documentation, it can installed using Oracle Universal Installer but I don't have the Oracle UI.
    Beside this, I was following the doc. on the link provided by you; I got an error *" Role WKUSER doesn't exist"* while executing the below mentioned
    query:
    GRANT CONNECT, RESOURCE, WKUSER TO <username>;
    Error: User WKSYS doesn't exists.
    ALTER USER WKSYS IDENTIFIED BY <password>;
    Are these errros because of Oracle Ultra Search not being installed on my database.
    Kindly help.
    Thanks
    Sunny
    Edited by: sunny@newbie on Jun 8, 2009 2:53 PM

  • Ajax memory tree can't expand when searching for a specific node.

    Hi,
    I've just followed the ajax tree example. Everything is working except when the find node windows pop up and a node is selected. the corresponding report is displayed but the ajax tree doesn't expand accordingly.
    Any help would be appreciated.
    Thanks
    Venus

    I too am having this issue with Scott's search ajax tree example listed here..
    http://www.oracle.com/technology/pub/articles/spendolini-tree.html
    The correct node is highlighted if that level of the tree happens to be expanded, but the tree is not automatically expanding to show the correct node. Which part of the code is meant to "automatically expand" the tree? Is it the
    "if tree_rec.id = y.id and tree_rec.id != v('P1_SELECTED_NODE') then..."
    section of "find_node" in
    http://www.oracle.com/technology/pub/listings/spendolini-tree-l1.html
    Any help appreciated.
    Thanks, Penny

  • How can I view a searched-for email that's part of a conversation?

    At work, we have an email account dedicated to the support emails that are sent out. They are automated and have the same title so they come up in the same conversation. And there's a lot (over 6000).
    When searching, say, by a username, there is only one email in this search result. The little number-with-the-arrow comes up, but it says only 1. The preview displays the correct email. So far, so good. I've found the email. It exists.
    BUT...
    The arrow cannot be clicked to drop-down the one email.
    The right-hand window does NOT display the search result email.
    The right-hand window with the full emails shows the most recent emails, starting at the newest, and only up to 100.
    Most emails do not fall within that 100 email range, and even looking through 100 still defeats the purpose of a search function.
    Is there something I'm missing?
    Thanks in advance!

    Go to Mail > Preferences > Viewing (tab on top) and uncheck "View Related Messages".

  • Why isn't my app store working on my iPhone? I can't buy or search for any apps.

    What's wrong with my app store?

    Go to settings , general , restrictions , and make sure you have install app enabled or turned on

  • Can't get 40rv525r to search for digital channels

    I'm trying to get digital channels on a 40rv525r, but I can't make it search for digital channels. After it searches (and oesn't find) any analog channels, it stops without searching for any digtal channels, and since there no longer are any analog channels, I can't aget any public broadcast channels.

    Take a look at the user's guide here.
    Page 29 (30 of the .pdf) contains a section called "Configuring the antenna input source for the ANT/CABLE terminal."
    You can also set it to digital mode only. See page 37 (38 of the .pdf).
    For more help, you can contact customer support at (800) 631-3811.
    - Peter

  • SELECT LIST versus POPUP LOV

    I have a form that currently has several fields defined as SELECT LIST, which works great when the list of items to be selected is small. However, one of the fields is a list of employees, which will be > 300, and I was thinking of using the POPUP LOV option. Mainly because of the Search capability - would like to just list those employees that are entered into the Search to show up in the list.
    I have tried the POPUP LOV within a CREATE record form (using Auto Row Processing and Database Columns), and it pops up showing a list of employees (using the same SELECT statement as used when it was a SELECT LIST). So far, so good. When I select an employee, the employees name shows up in the field in grey text. So far, so good. However, I do not get anything helpful when I enter anything into the Search box. I just get a "The page cannot be displayed" in the window. Basically I am unable to search. Bummer.
    However, when I look at the record that I just created, I do not see the employees name in the field anymore, I just see the employee's ID. I also get the following error message:
    "Error: ORA-00904: "SESTAFFID": invalid identifier performing List of Values query: "select Employee, SEStaffID from ( SELECT ec.ename || ' - ' || s.site_name "Employee", wss.wss_id "SEStaffID" FROM wiser_se_staff wss, vw_emp_contact@WISER_SA ec, vw_site@WISER_SA s WHERE wss.staff_emp_id = ec.empid AND wss.staff_sch_location = s.site_id AND ((:P205_REF_RECD_BY_ID IS NOT NULL AND :P205_REF_RECD_BY_ID = wss.wss_id) OR :P205_REF_RECD_BY_ID IS NULL) ORDER BY ec.ename, s.site_name) wwvlovinlineviewname where SEStaffID = :WWV_LOV_RETURN_KEY_UTIL_1111". "
    Dang, I hate it when that happens. I have not been able to find any references to this error that would shed light on how to handle this error.
    I followed the recommendation in the HTML DB User's Guide for Popup LOVs (Table 6-7 Available Item Types), to no avail.
    The SELECT statement that is being used is:
    SELECT ec.ename || ' - ' || s.site_name "Employee",
    wss.wss_id "SEStaffID"
    FROM wiser_se_staff wss,
    vw_emp_contact@WISER_SA ec,
    vw_site@WISER_SA s
    WHERE wss.staff_emp_id = ec.empid
    AND wss.staff_sch_location = s.site_id
    AND ((:P205_REF_RECD_BY_ID IS NOT NULL
    AND :P205_REF_RECD_BY_ID = wss.wss_id)
    OR :P205_REF_RECD_BY_ID IS NULL)
    ORDER BY ec.ename, s.site_name
    I guess my questions are:
    1) Why is APEX choking on the SELECT statement for the UPDATE and not the CREATE?
    2) Why doesn't the SEARCH feature work, or probably more correct, what am I missing?
    TIA

    Scott,
    Thank you for looking at this.
    You are correct in your assumption - I was using the 'Popup Key LOV (Displays description, returns key value)' Display As option.
    I have been able to isolate where the problem is. I reduced the 'List of values definition' to:
    SELECT ec.ename || ' - ' || s.site_name "Employee",
    wss.wss_id "SEStaffID"
    FROM wiser_se_staff wss,
    vw_emp_contact@WISER_SA ec,
    vw_site@WISER_SA s
    WHERE wss.staff_emp_id = ec.empid
    AND wss.staff_sch_location = s.site_id
    ORDER BY ec.ename, s.site_name
    I then received the same error. So, I just changed the alias from "SEStaffID" to "SESID" and it then gave me the following error:
    Error: ORA-00904: "EMPLOYEE": invalid identifier performing List of Values query: "select Employee, SESID from ( SELECT ec.ename || ' - ' || s.site_name "Employee", wss.wss_id "SESID" FROM wiser_se_staff wss, vw_emp_contact@WISER_SA ec, vw_site@WISER_SA s WHERE wss.staff_emp_id = ec.empid AND wss.staff_sch_location = s.site_id ORDER BY ec.ename, s.site_name ) wwvlovinlineviewname where SESID = :WWV_LOV_RETURN_KEY_UTIL_1111".
    So, I then eliminated the concatenation that was part of the first field so that it was then 'SELECT ec.ename "Employee",' and left the rest of the SQL statement alone. I received the same error message. I then eliminated the "Employee", resulting in 'SELECT ec.ename,' and reran it - the LOV then worked properly, showing a list of employees, and I was able to search the list as expected.
    There is something about using the alias on the fields that it just does NOT like.
    I just did another test, and it appears it is just when the alias is on the first field that it chokes. I removed the alias from the first field, and left the alias on the second field, and the LOV worked just fine.
    TIA,
    Tom

  • Passing Request to a POPUP LOV from previous page

    Hi All,
    I'm stuck again :( and its urgent..
    I have a popup LOV and i want to populate values in it based on REQUEST coming from first page.
    If I click CREATE on first page POPUP LOV should display certain values and if I click UPDATE on first page, it should populate different set of values.
    Also when I navigate further from this page and return back, the LOV's should have values based on previous request selected.
    For this I have created an item P_REQ which stores value of request from first page i.e :P_REQ wil have values CREATE or UPDATE.
    Now I'm able to pass this value to a select list. However a POPUP list is not able to fetch this P_REQ value.
    MY query for LOV is as below
    select d1 d ,r1 r
    from
    (select name d1 ,ID r1,'C' up_cr
    FROM Client
    'WHERE statusid in (1,3)
    union
    select name d1,ClientID r1,'U' up_cr
    FROM Client_List)
    where up_cr = decode(:P_REQ,'CREATE','C','U')
    ORDER BY d1
    Kindly help.. Its Urgent..

    Hi,
    If you use that computation to set the value of P_REQ it is actually also saving it in the session. The value stored can then be retrieved by the popup LOVs query using :P_REQ so you don't need to pass the value at all as it is already available.
    To see this, go to: [http://apex.oracle.com/pls/otn/f?p=33642:237] The list of employees has INSERT or UPDATE in the final column. This is used in the link on the EMPNO column as the "Request" setting. This link passes you to another page which uses the computation to set the value in P238_REQUEST (this is displayed on the screen). Then you have a link to "Open popup". All this does is open another page which has a region with a source of: Request value: &P238_REQUEST.
    Andy

  • Problems with popup lov in report in Apex 4.0.2.00.08 XE 11g is a bug?

    I had a report in Apex 3.2 in XE 10g. The type of field was popup lov(editable)
    i defined a trigger on change to load data from database and fill anothers fields.
    to know in wich row change this field i have the nex javascript code
    var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
    in this release works fine and return 1 (0001) for the first rows, etc etc
    in the new version 4.0.2.00.08 in XE 11g the same code return 0000, but if i put a trigger in a field(column)(editable too) of the same row returns 0001, Is this a bug? or in apex 4 change the ordinal of rows for popup lovs only?
    thanks
    The current version of apex is 4.0.2.00.08 XE 11g (the release included with the database ) and runs in Windows Vista and internet explorer 8
    Edited by: DanielB on Jun 13, 2011 11:52 AM
    Edited by: DanielB on Jun 13, 2011 11:57 AM

    when i put the mouse over the popup lov in release 3.2 , on the console bar i can see javascript:genList0_f01_0() for the first record and javascript:genList0_f01_1() for the second
    in release 4 and 4.1 javascript:genList0_f01_$_row() for the first record and javascript:genList0_f01_1() for the second, i think this is my problem......

  • Searching for a particular Calendar in iCal

    How can I run a search for all the events in a particular calendar. I want to be able to see them all in one place. One example for when I need it is to see if one particular calendar has any entries in it.

    Hi Gon Paran,
    Uncheck all your calendars on the left in iCal, then check the one you are interested in. To uncheck all calendars at once Cmd-Click one calendar's checkbox. Then to show all the events in that calendar, do a search for a single quote ( i.e. " ), this should show all the events in the visible calendar in a list.
    Best wishes
    John M

  • Searching for an entry in a file that contains 2 words or more...

    Hey :)
    I created a Binary Search Tree that would hold a list of words located in a .txt file. So, basically, the objective of the program is to search through a typed up document for the words in the search tree, and if the word is found, return it to the user to see.
    I have that part working, but what I'm having trouble with is one of the entries in the file. The entry is "data structure." All the other entries are 1 word, like queue, depth-first, etc...but this one is 2 words. I'm having trouble making it so that the search will detect the 2-word entry, "data structure." How do I go about searching for entries that are 2 or more words in length?
    I have been struggling with this for some time, and I don't know if it's just me, but I'd really like to get this done since this is the only thing I'm having trouble with right now. I thought I could figure this out, but I'm just putting too much time into it, and I need to submit this tomorrow.
    Any help would really be appreciated! :)
    Take care,
    Alex

    Yea, I was thinking of doing that myself. Turning the two words into one word, so it'll end up like, "datastructure," but how do I do that? Would I use the substring method? Or is there something else that I can use to get rid of whitespace. I'll look that up now on google or something, but in the meantime, if anyone can help me out with this, it would be great.
    Just for a reminder, this is my problem :: I need to be able to locate an entry in my document that has 2 words in it. In this case, the entry is, "data structure." How can I go about searching for this 2 word entry? It seems to be a bit more complex than merely searching for one word. Any help you can provide me would be great! :)
    Here's the code for the Binary Search Tree:
    import java.io.*;
    import java.util.*;
    public class KeywordBinarySearchTree
         BinaryNode root;
         //static String[] docWords; // captures each of the words into an array while ignoring punctuation
         public KeywordBinarySearchTree()
              root = null;
         public void preOrderTraversal()
              preOrderTraversal(root);
         public void inOrderTraversal()
              inOrderTraversal(root);
         public Comparable findNode(Comparable node)
              return dataOfNode(findNode(node, root));
         public Comparable dataOfNode(BinaryNode node)
              if (node == null)
                   return null;
              else
                   return node.nodeData;
         public BinaryNode insertInOrder(Comparable iNodeData)
              BinaryNode nodeWalker;   // used to walk through each of the nodes until the appropriate spot
                                            // is found to insert the node of data
              BinaryNode parentNode = new BinaryNode(iNodeData); // represents the new root node after each pass through the tree
              if (root == null) // if it's a brand new tree with no nodes, then insert the new root of the tree
                   root = new BinaryNode(iNodeData);
              else
                   nodeWalker = root; // sets current root of tree to nodeWalker
                   while (nodeWalker != null) // will start its first iteration of the loop at the top of the tree
                        parentNode = nodeWalker;
                        if (iNodeData.compareTo(nodeWalker.nodeData) < 0) // if the data to be inserted is less than the current
                                                                                       // node in the tree
                             nodeWalker = nodeWalker.leftChild;                  // set nodeWalker to the left child of that node
                             System.out.println("INSERT NODE: LEFT CHILD");
                        else
                             nodeWalker = nodeWalker.rightChild;                 // otherwise, set nodeWalker to the right child of that node
                             System.out.println("INSERT NODE: RIGHT CHILD");
                   } // this loop will determine where the node has to travel to get to the appropriate destination. once the nodeWalker
                     // has reached its final stop, the while loop exits into the statements below to insert the new node of data
                   if (iNodeData.compareTo(parentNode.nodeData) < 0)
                        parentNode.leftChild = new BinaryNode(iNodeData);
                        System.out.println("INSERT NODE: PARENT NODE LEFT CHILD");
                   else
                        parentNode.rightChild = new BinaryNode(iNodeData);
                        System.out.println("INSERT NODE: PARENT NODE RIGHT CHILD");
              return parentNode;
         public BinaryNode findNode(Comparable searchNode, BinaryNode bn)
              if (bn == null)
                   return null;
              else
                   while (bn != null)
                        if (searchNode.compareTo(bn.nodeData) < 0)
                             bn = bn.leftChild;
                             //System.out.println("FIND NODE: LEFT CHILD DETECTED");
                        else if (searchNode.compareTo(bn.nodeData) > 0)
                             bn = bn.rightChild;
                             //System.out.println("FIND NODE: RIGHT CHILD DETECTED");
                        else // word has been spotted in the tree!
                             System.out.println(bn.nodeData);
                             return bn;
              return null;
         public void preOrderTraversal(BinaryNode bn)
              if (bn == null)
                   return;
              System.out.println(bn.nodeData);
              preOrderTraversal(bn.leftChild);
              preOrderTraversal(bn.rightChild);
         public void inOrderTraversal(BinaryNode bn)
              if (bn == null)
                   return;
              inOrderTraversal(bn.leftChild);
              System.out.println(bn.nodeData);
              inOrderTraversal(bn.rightChild);
    // and then the code after this is the public static void main code, which I posted snippets of above.

  • Can't purchase Java Developer for windows CD

    Hi,
    Somehow when purchasing a Java Developer for Windows CD it always gives a web page with an error. Is there a way to avoid this error, or is there a phone number I can call to make that purchase?
    Thanks, Boris.
    P.S. The error page has this content:
    Error Occurred While Processing Request
    Error Diagnostic Information
    unknown exception condition
    PCodeDocumentNodeImp::prepareForExecution
    Date/Time: 11/10/03 10:47:12
    Browser: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2
    Remote Address: 68.134.170.160
    HTTP Referer: http://www.oracle.com/webapps/techtracks/legal.jsp?tid=540&owner=1&opt1_rb=NewUser
    Template: E:\Inetpub\wwwroot\oracle-otngold\register.cfm
    Please inform the site administrator that this error has occurred (be sure to include the contents of this page in your message to the administrator).
    [Edited by: otngroup on Nov 10, 2003 10:25 AM]

    Basically you have a 99.9 percent Window's install so any Windows software issues are Microsoft problems.
    The only thing I can think of is the Microsoft servers were down briefly for maintenance or problems or maybe had a heavy load. If you were using the Auto update try going to the web site directly as they should be on another server.
    You might also try the Microsoft Window XP forums and see what you can find. Maybe search for: "Security Update stalls"?
    From what I've read just turning virus protection off doesn't work sometimes, you may have to UN-install it to get it to work.
    "Permissions" pertains to MAC SOFTWARE only. 3rd party software or Windows files are NOT affected at all by running permissions. Besides, it will only work on a HD with a Mac operating system anyway. You can't even select the Window partition in permissions to try it anyway.
    Good luck....

Maybe you are looking for