DYNAMIC LOV (list of value)

Hi all,
I have created a dynamic LOV using the sql statement:
Select product_name A, product_code B from product.
Can I make this LOV more dynamic by putting where conditions?
For example:
Select product_name A, product_code B from product where status = &STATUS
&STATUS is a value from a given field as entered in a current form page.
Is this possible? or are there other ways to to this?
Thanks

wow thats great sunil : )
Can I also reference the value of P7_ITEM_NAME in anotheR item name like P7_COMMISSION?
For example: I have two (2) item names: P7_SALARY and P7_COMMISSION
P7_COMMISSION is computed as :P7_SALARY * 0.10
So I do not have to enter value in the item name P7_COMMISSION as it is derived from P7_SALARY.
Is this possible? if not why does LOV able to access it ; )
Thanks a lot

Similar Messages

  • What is Delegated LOV (List of Value) ?

    Hi,
    What is Delegated LOV (List of Value) ?
    Thanks

    The delegate search option on the list of values properties presents the user with an empty list of values at query run time. The user enters search criteria to limit the number of values returned in the list of values.
    To activate the delegated search option for a list of values, in the designer, edit the list of values properties on the object properties page of the object to which the list of values applies.
    The delegated search is not supported for cascading lists of values.
    Regards

  • Problem in using LOV (List of values)

    We created a folder 'Testing FCG' in the Business View Manager.
    1) In this we created a new connection of TCD371 Database ( conn) ,
    2) We created a new Data Foundation(DF)  using the existing connection and we added table 'cdhpmember' in the DF
    3) We created a new business element(BE) using DF and we added the column like Firstname,Groupkey and Gendercode
    4) We created a Business View (BV) using DE and we added DE to the BV
    5) We created a LOV(Memkey) using BV and we selected memberkey field
    6) We tried to implement the memberkey field into crystal report as a dynamic parameter
    7) When we try to run the report we got the error like this
    Promting failed with the following error message: 'Liat of Values failure: failed to get values. [Cause of error:CSELOVDataSource::setReportInstanceCUID The List of Values did not schedule sucessfully and must be re-scheduled.]'.
    Error source : prompt.dll Error code: 0x8004380D
    Could any of you give your input on this error?

    It's happening in Crysatl Report designer tool. Not able to run the report. There's not point deploying it in info view.

  • What is the maximum number of records in a dynamic parameter list of values?

    In Crystal Reports Developer, I am attempting to add a dynamic parameter from a view.  The view has 6773 total records.  The field used for the parameter has 1819 distinct values, none of which are null.
    I have the parameter set to allow multiple values, and I have added
    field is equal to parameter
    in the select expert.
    However, when I refresh the report and tell it to prompt for new parameters, the list of values does not contain all the values, so about half of the records are dropped.
    Is there a way I can guarantee that all 1819 (or an unlimited number) records show up in the List of Values?

    This has been answered. Search forums for the results

  • Dynamic Select List Allowed Values

    Howdy Folks,
    I am trying to allow end users to select their username. The usernames are generated from a rule library, and displayed in a select form element. I am doing this by having the allowedValues call the rule that generates the possible names directly. The rule returns a list of valid names. The problem I am currently having, is that if the page reloads or refreshes, then the allowedValues calls the rule again. Some of the username choices involve random numbers, so it is possible (and very likely), that separate calls to the rule will generate different potential values. So what is now happening, is that when a user selects the value, the page reloads, and the end user sees an error that looks like this:
    ( ) - Warning: Selected value for field 'Select a Valid User Name' does not match any of the allowed values.
    The reason I am reloading the page, is that I am also trying to show the user what their email address will look like with the new value. So I have a different form element that is loading is value dynamically, and referencing the select form element. This mostly works, but the warning above is unacceptable.
    Is there a way I can load the dynamically created list only once, the first time the form is viewed, and not load it again every time the page refreshes?
    Another thing I tried to do (but didn't have luck with, so I sorta gave up on it) was to use the onChange of the select to change the value of email display field. This way the page never reloads and I don't have to deal with that issue. I'm thinking the onChange might actually work, but I would need to execute javascript or something, and not just use an express <set/> command to set the value of the field name that displays the email text.
    Does anyone have advice on how to make the values only load once? Or how to change the value on the onChange event?
    Thanks!
    Jim

    Mike,
    Thanks for the feedback. I actually did try that eventually. I created a variable in the form, and initialized that variable to the list of possible values. Then I referenced the variable in the 'allowedValues' of the select form item. At that point in time I still had the select box set as an action, so it would reload the page, hoping to reload the value in the email display field. This still did not work. Each time the action fired off, the variable was re-initializing itself. I eventually tried to put in a check, so it would not re-initialize itself if it had already been initialized. That caused a syslog error.
    I ended up solving the problem using javascript. I changed the field that reported the potential email address to an html element. Then for the html attribute I made a div with an ID. I then set a line of javascript into the onChange attribute of the select form element. This worked when ever the select form value changed. I then added the same line of javascript to the onLoad attribute of the jsp pages body element. This worked for loading the page.
    This solved the problem of the page reloading and the select getting new values. That still happens if you actually reload the page, but all the form elements work without the reload now.
    Thanks!
    Jim

  • Dynamic entry list - Use Value as input to WS

    Hi,
    I have a Dynamic Entry list, which displays the text, I would however like to store its value, so that I could use it as input for the Web service.
    Any ideas, how that can be done?
    Many thanks,
    Dharmi

    Dharmi Tanna,
    In your model,
    Drag a Data Store connector from the Compose task panel to the Design board.
    Drag from the out port of the UI element whose data is to be stored in the Data Store to the port of the Data Store element.
    Right-click the Data Store element and from the context menu, choose Define Data.
    Define a virtual field for the Data Store by clicking the Add Field button and choosing the type of data that you want to store. Add more fields as required.
    The field is added with a default name.
    To define a default value for each field, enter it in the Default Value column.
    Define the event used to transfer data to the Data Store
    Right-click the connecting line to the Data Store, and from the context menu choose Rename.
    Name the event with the same name as the action that adds items to the Data
    Map values from the UI element fields to the Data Store fields:
    Right-click the connecting line between the elements, and from the context menu choose Map Data.
    In the Assigned Value column, choose a UI element field, enter a field name, or define a dynamic expression to specify from where to take the value that is placed in the Data Store.
    Edited by: Ahmed Salah on Apr 1, 2008 11:02 PM

  • Dependent Dynamic LOV lists in a table format

    I have a screen where the user can enter multiple rows into a tabular layout.
    Three columns have LOV's where the selection in the first LOV should restrict the list in the Second LOV which will restrict the list in the third LOV. I think I could manage it if it were a single row of data being captured, but how does one reference the previous fields selection in the next field when using multiple table rows.
    I have a db table which I think can drive the process, but I'm not familiar with the method in which to handle it.
    Table: id, LOV-1 -value, LOV-2 value, LOV-3 value
    So when user selects from LOV-1, only those LOV-2 values associated with LOV-1 that the user selected should be listed. And then LOV-3 values associated with LOV-2 selection should only be listed.
    Can someone offer some insight or point me to an example?
    Thanks
    Tony

    Has anyone been able to implement a series of dependent LOV's in a tabular report which is updateable?
    I have a collection which I update 'onchange' if an LOV column is updated to retain the new value. I still have the issue of referencing the 'correct rows' previous LOV value to limit the next LOV's selection list.
    Any suggestions on how to reference the previous column's value for the current row?
    Desired process flow:
    1 .user selects value 2 from LOV 1 [row 1]
    -onchange, trigger submit of form back to itself updating the collection.
    2. provide LOV 2 [row 1] with limited list of values based on selection in LOV 1 [row 1]
    -onchange, trigger submit of form back to itself updating the collection with values of
    row 1's LOV 1 and LOV 2
    3. provide LOV 3 [row 1] with limited list of values based on selection in row 1's LOV 1 and LOV 2
    Is there away to change the dependent list of values using a javascript function? Such as repopulate the LOV?
    Help?
    Tony
    Message was edited by:
    amalloy

  • Dynamic DFF List of Value - Issue

    Hi
    I'm stuck up in a problem and I'm sure you will have a solution for this.
    Please read the following and suggest me some solution.
    Requirement : Right now I'm not finding any functionality for Inter Org requisition related to InterOrg Transfer(Intransit Shipment)
    So I Have created a Custom InterOrg Requisition Form.
    Custom table
    IOR_HDR( IOR_NO, From_org, To_org)
    IOR_DTL ( IOR_NO, Item, Quantity)
    Now I want to give Custom Form Reference Number (IOR_NO) while InterOrg Transfer(Intransit Shipment) in line level DFF valueset. (This is the only solution I found, Please suggest if any other better solution is there)
    With that I have to provide only those IOR_NO in List of Values which satisfy the condition
    IOR_HDR.From_org = From Org entered on that screen ($PROFILE$.MFG_ORGANIZATION_ID)
    IOR_HDR.To_org = entered on screen ???
    IOR_DTL.Item = entered on screen ???
    IOR_DTL.Quantity >= Entered Quantity ???
    With that on second line if same item is entered then also Quantity should be sum of 2 lines and compare it with table quantity.
    Should I use custom.pll or Form Personalization of direct use value set or any thing else ??? and How??????
    Standard InterOrg Transfer Screen
    Thanks in advance.
    Priyanka Patel.
    [email protected]

    wow thats great sunil : )
    Can I also reference the value of P7_ITEM_NAME in anotheR item name like P7_COMMISSION?
    For example: I have two (2) item names: P7_SALARY and P7_COMMISSION
    P7_COMMISSION is computed as :P7_SALARY * 0.10
    So I do not have to enter value in the item name P7_COMMISSION as it is derived from P7_SALARY.
    Is this possible? if not why does LOV able to access it ; )
    Thanks a lot

  • Display Dynamic Member List Variable value in the Header

    Hi
    In my HFR report im using a dynamic member list as DynList1(@POV) in the Entity Dimension; for HFM Application.
    For the Entity Parameter im using User Prompt for Entity.
    For the User Prompt im using a choice list of Four entity members. E1, E2,E3, E4.
    I have 4 member lists ML_E1,ML_E2, ML_E3, ML_E4 such that ML_E1 contains few of the descendants of E1.
    So wen i run the report i select E1 in the user prompt and the ML_E1 is used in the Report. This is working fine.
    Now, i want to display the MemberName and Description of E1 in the Header.
    Im not sure if it can be done. But wanted some confirmation from Hyperion Community on whther this can be done.If yes, please let me know how.
    Thanks
    Vibhuti

    I tried to recreate the problem like listed above, but after I add the Outputcollection of the Invoke as a parameter, there is no schema info (not even task:task) when editing the Assignment and Routing Policy section. At any rate, there weren't errors to speak of - the instance completed with "The state of this instance is Completed".
    In the meantime, I've used a while loop to loop through a sequence of approvers that are result of a query. I'll have to keep track of approvers and include them in each new payload I think.

  • Problem - Creating a Dynamic LOV using duplicate value in select statement

    I am trying to create a Dynamic LOV by attempting to follow a pattern similar to the following:
    select shop_name d, shop_id r
    from shops
    order by 1
    However, I want to use the shop_name twice as in the following because I do not have any other unique identifier available such as a shop_id to associate with the shop name:
    select shop_name d, shop_name r
    from shops
    order by 1
    But I get an error where I am not allowed to duplicate the shop_name in the select statement. I read somewhere on this forum where it can be done but I can't find exactly how.
    Can someone tell or show me how to accomplish this?
    Thanks in anticipation for your answer.
    Thanks,
    Ric

    Ric,
    I just tried to do this on APEX 3.0, and it worked just fine with this SQL:
    select ename d, ename r from emp order by 1Perhaps you could put an example on apex.oracle.com or specify the error message that you're getting.
    So as long as you have uniquely aliased both columns, this should not present a problem.
    Thanks,
    - Scott -

  • Lov - List of values

    people,
    am using jdveeloper11g 11.1.1.4.0
    first of fall i want do in input text with List of Values
    if i select city means
    corresponding state and country must be displayed.
    can one guideme or else
    paste the link regarding this.

    hi..
    You can archive that with your VO.
    In model project double click on sampleVO --> Attributes --> select relevan field --> press green + button for list of value --> select or Add list data source by pressing green + and Add relevant view accessors to shown state and country,finally edit UI hints as you want with adding state and country.
    hope this will helpful..

  • Use of LOV (list of values) in UCM

    Hi.
    Does anybody know if this can be achieved in UCM?
    Sooner we'll have to deal with huge lists (thousands of values) that could affect performance. Using LOV instead of selected list would suppose a great enhacement and a clear way for a user to search, avoiding him the difficulties that suppose handling with that kind of lists.
    Thanks in advance.

    Hi.
    Does anybody know if this can be achieved in UCM?
    Sooner we'll have to deal with huge lists (thousands of values) that could affect performance. Using LOV instead of selected list would suppose a great enhacement and a clear way for a user to search, avoiding him the difficulties that suppose handling with that kind of lists.
    Thanks in advance.

  • How to make text field in tabular form as List of value (LOV)

    So the problem is next:
    I should to make field in tabular form as LOV(list of value (combobox)) to load there data form db. Could smb take me an advise how to make it.
    Thanks.

    So thanks, I did it, it works. How now to make next: I selected Id from list and in the next column appears name with ID from DB. so how to make ondemand process i know (thanks to you), but how to get value from LOV that I selected to give it to Dynamic Action.
    Thanks

  • How to get data from list of values (LOV) to be displayed in a text field ?

    Hi guys,
    I am very new to Oracle APEX so please spare me if it is a silly question. How can I get the selected values from a set of list of values (LOV) displayed in a text field (or text area or so) ? Fox example, in my form I create 4 items: STATE, COUNTY, STREET, ZIPCODE and all of them are LOV (list of values). I also create 2 buttons (ADD & REMOVE). Then I create a test field (or text area name SELECTED RECORD). Now here is what I want to do with my form:
    When I set the values for all 4 fields, I will click on the ADD button then I want those values be displayed in the text field.
    For example, if the selected values are:
    STATE = Alabama
    COUNTY = Abbeville
    STREET= 1 Street
    ZIPCODE = 36310
    And the ADD button is pressed. Then in the text field I want it displays like this:
    Alabama,Abbeville,1 Street,36310
    If I choose other values and click ADD again, a new line will be added into the text fields (text area). If I click the REMOVE button, then it will clear those two line in the text field.
    Would it be possible to do it? Any help will be greatly appreciated. Thanks in advance.

    If you can live with the page being submitted and refreshed, make your ADD button do a submit with a request value of ADD and make your REMOVE button do a submit with a request value of REMOVE.
    Then create two computations (one firing with a condition of Request = ADD and the other firing with a condition of Request = REMOVE).
    In the ADD one, concatenate the values together into the text area (most likely a PL/SQL computation wiill be what you want). In the REMOVE one, set it to null with a PL/SQL computation.
    If you want it done without submitting the page, make the buttons each do a redirect to a URL but instead you will have to write two short javascript functions in the page HTML header to manipulate the field values. Each button would call each javascript function in an onclick event.

  • List of values not properly working in the selection screen.

    Dear Mates,
    In BEx query all the selection parameters are working and showing all the list of values. Created the same report in crystal from BEx query, for one particular selection it is not showing the list of values or drop down. Just showing "DISCRETE VALUES"
    Please throw some light on this.
    Good day,
    Regards
    Arun S

    Hi Arun,
    I think you have more than one dynamic parameter created in your report.  There is a limitation on dynamic parameter list of values.  You will have to edit the registery to get all values in dynamic parameters list.
    Find below is a knowledgebase article ;
    Symptom
    For performance reasons, in Crystal Reports XI Release 1 and Release 2 the maximum number of values that are returned for a list of values is set to 1000. If you have a cascading List of Values (for example Country > Region > City), the lowest level (in this case City) will only display a maximum of 1000 values. This means that the higher-level prompts may display far fewer values than you expect. The list of values provides the data for the dynamic parameter list.
    How can you modify the maximum number of values available in a dynamic parameter list?
    Resolution
    To increase the maximum number of values available in a dynamic parameter list, you must add a registry key.
    CAUTION
    The following resolution involves editing the registry. Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall the Microsoft Windows operating system. Use the Registry Editor at your own risk. For information on how to edit the registry key, view the 'Changing Keys and Values' online Help topic in the Registry Editor (Regedit.exe).
    It is strongly recommended that you make a backup copy of the registry files (System.dat and User.dat on Win9x computers) before you edit the registry.
    Crystal Reports XI Release 1
    Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV.
    NOTE
    Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\LOV key.
    Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter. NOTE: The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    NOTE
    The higher the number of values is, the longer it will take the Enter Values dialog box to populate with values.
    After making changes to the registry, restart the affected service or application as required.
    Crystal Reports XI Release 2
    Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV.
    NOTE
    Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.5\Crystal Reports\DatabaseOptions\LOV key.
    Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter.
    NOTE
    The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI or Crystal Reports Server XI, you must specify another value.
    After making changes to the registry, restart the affected service or application as required.
    Thanks,
    Sastry

Maybe you are looking for