Data list box\drop down multiple fields ?

Hi trying out Livecycle and try to put together an invoice page. I have created 3 coloums in excell with catlog number, description, value. I can get the description list into a dropdown but don't understand how to connect it to both its catlog number and price.
What I want is to put choose the item and the catlog number and price to appear in the the boxs left and right of it.
Any suggestions, and links to tutorials to achieve this.
Many thanks in advance.
Smee

Hi,
Check the below code.
*&      Module  STATUS_0100  OUTPUT
      text
MODULE STATUS_0100 OUTPUT.
data: v_num type i value 1.
  SET PF-STATUS 'ZPF'. "zpf. "'xxxxxxxx'.
SET TITLEBAR 'xxx'.
case sy-ucomm.
when 'BACK'.
set screen 0.
Leave screen.
endcase.
type-pools vrm.
data: v_id type vrm_id,
      i_list type vrm_values,
      wa_list like line of i_list.
*v_id = 'P_LIST'.
if v_num = 1.
wa_list-key = '1'.
wa_list-text = 'Hi'.
append wa_list to i_list.
wa_list-key = '2'.
wa_list-text = 'Hello'.
append wa_list to i_list.
wa_list-key = '3'.
wa_list-text = 'Great'.
append wa_list to i_list.
v_num = v_num + 1.
endif.
CALL FUNCTION 'VRM_SET_VALUES'
  EXPORTING
    id                    = 'LIST_BOX' "this is your list box name
    values                = i_list
EXCEPTIONS
   ID_ILLEGAL_NAME       = 1
   OTHERS                = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE.                 " STATUS_0100  OUTPUT

Similar Messages

  • How to populate data from dynamic drop down list to the text field

    Hi,
    I tried to populate data from dynamic drop down list to city field. I would like to concat data from drop down list.When selecting add button to add the item and select item from drop down list, data should be displayed in the text field. However, Please help. I spent alot of time to make it works I am not successful.
    Please see the link below.
    https://acrobat.com/#d=SCPS0eVi6yz13ENV0cnUdw
    Thanks for your help
    Cindy

    Hi Rosalin,
    Loop the hidden table, get the values and populate drop down in each iteration.
    DropDownList1.addItem("Text","Value");
    You can use one more solution for this scenario. If it is a matter of 2,3 dropdowns, put three dropDowns in the form layout and give seperate static data binding to them. At run time make the dropDowns hide/visible as per the requirement.
    Hope this helps.
    Thanks & Regards,
    Sanoosh

  • Work around / fix for making a list of drop down boxes

    Dear experts,
    When lists are created, its cells act like top-level views. Because of this, everything attempting to go past the border of the list item is clipped. This is a problem when making a list of drop down boxes. Is there a known work around for this or maybe a fix?
    Regards,
    Olivier

    thank you saish, moving 'the artists are' helps visually, as for the fix, i really needed to store it in an arrayList, resultSets aren't very happy about being manipulated!
    here's the fix:
    writer.println("<select name=\"userList\" size=\"1\">");
    ArrayList a = new ArrayList();
    ResultSet r=null;
    // this is just my way of accessing the database and the correct method with the artist names in it
    r = factory.getCustomersDAO().get_Artist_Names_Only();
    while(r.next())
    // retrieve artist names as String variables
    String artist = r.getString("artist_name");
    // add to ArrayList
    a.add(artist);
    for(int i=0; i<a.size(); i++)
    Object art = a.get(i);
    art = (String)art;
    writer.println("<OPTION VALUE=\"" +art+ "\">" art "</OPTION>");
    writer.println("<tr><td colspan = \"2\"><h2>Enter Artist Name to be booked: </h2></tr></td>");
    writer.println("</SELECT></TD></TR>");
    thanks again, i've got another problem now that i'm just about to post about, how to register when one particular cell in a html table has had its link clicked!
    jenxx

  • Crystal report Chose from List or drop down value in parameter from UDT

    Hi Experts,
    I had face a issue while creating a report for my client in crystal report , I had create a report and in the parameter field I want to select the value from the chose from list or drop down value from the User define table.
    In parameter had written field as : Code@Select * from dbo. [@UDT] ;  but in the report filled I am not able to select the value.
    Please Help me ! Thanks in Advance. :

    HI
    Welcome to the Forum...
    You cannot put all the values in a single parameter field so you need to select each field for each parameter...
    Better you post it in this link for more reponses:
    Reporting and Printing

  • How To Enable a List Box To accept  Multiple Selection

    Dear all,
    How can I enable a List box to accept multiple selection.If any body can please help me.
    Thanks a bunch in advance
    Regards
    Rakesh

    The only problem is, the XML form data only contains the first selection made. All others are discarded. This is the first thing I've ever done with the Life Cycle Designer but the product seems somewhat in a version 1 state. Lots of features but no depth. Any suggestions about the XML?

  • Is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    No

  • Loading data in a drop down menu using jsp

    hello everyone...
    I'm very new to JSP programming....i'm facing a problem regarding loading the data in a drop down menu at the button click.....
    what i'm doing is...i'v taken a button and at the button click the data from "Sql Server 2000" shd load in a drop down menu....here's the code which i think will make my point clear....
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <%
              Connection con=null;
              ResultSet rs=null;
              try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con=DriverManager.getConnection("jdbc:odbc:p_portal");
                   Statement stat=con.createStatement();
                   String sql="select * from message_box where name='anindo'";
                   rs=stat.executeQuery(sql);
                   %>
    <script language="javascript">
    function check()
         var show=document.getElementById("mydivtag");
         show.innerHTML = "<label><select name=select><% while(rs.next()){%><option><%= rs.getString(1) %></option><option><%= rs.getString(2) %></option><option><%= rs.getString(3).substring(0,10) %></option></select></label><%}}catch(Exception ex){out.print("Exception is:- "+ex);}%>";
    </script>
    </head>
    <body>
    <form id="form1" name="form1" method="post" action="">
      <label></label>
      <p>       
        <input type="submit" name="Submit" value="Submit" onclick="check()" />
           </p>
      <p>       
       </p>
      <div id="mydivtag" ></div>
      <p> </p>
    </form>
    </body>
    </html>

    yep Ajax is d right way 2 do so.
    So can use DWR(ajax tech.) for dis/
    To implement dis dere r simple steps u hav 2 follow
    1. entry for <dwr> tag in web.xml
    2. entry for <onverter>in web.xml
    3. In jsp u write
    <script type="text/javascript" src="<%=appName%>/dwr/engine.js"></script>
    <script type="text/javascript" src="<%=appName%>/dwr/util.js"></script>
    <script type="text/javascript"src="<%=appName%>/dwr/interface/ClassService.js"></script>
    were ClassService is ur class whose method u want 2 call.
    4.
    In jsp under <script> u can simply write
    ClassService.Methodname(param1,param2,....,CallBackFunction);
    5.CallBackFunction(data)
    /// do wt u want
    For more details u can find it on google.

  • How to modify the list item drop down context menu in SharePoint 2010

    Hi All,
    I have a requirement to add my name in the list item drop down context menu, already "Assigned ticket" option is available in the context menu and some names are available in the assigned ticket option. but i can't able to add my name in this options.
    Attached screenshot for reference. Thanks in advance for your assistance!
    Thanks
    Arun Prakash

    Do you know how the currently listed values got there in the first place? Some sort of custom code or action? Some background information would help. There is obviously a source feeding it from somewhere, but it's impossible for us to tell you exactly
    what just by looking at your scribbled-over screenshot
    Check WSPs that are deployed to the farm. Check for any non-OOTB site features that are turned on...

  • Copy text fields and drop down menu fields

    Hi,
    Using LiveCycle Designer ES, I am making a simple form with some text fields and along with some drop-down menu fields.  With the resulting pdf, I need for one to be able to select the appropriate selection in the drop-down menus.  Then using cntl-a to select everything and then cntl-v to copy it into a text document.  This approach will only copy the text fields and not what is showing in the drop-down menu field.  Is there any way to solve this problem?  The end users computer has limited tools and software cannot be installed on it.
    Thank you for considering this issue and any help you may provide,
    ja

    Hi,
    I don't really know if the text field can be selected using Ctl+a, but if that is possible how about adding extra text field that is linked to pulldown menu?
    If the usage of the PDF is only for copying, then I would make a formcalc or javascript to combine all the text into one text field so that user only need to copy paste one field.

  • Combo-list auto drop-down

    hi all,
    i use 10g, i want combo-list auto drop-down. like when i write in this combo-list its automatic drop-down.
    i use <when-list-change> trigger it show the result when iam click on the arrow of the combo-list.
    i want this automaticlly?!
    is this available?
    pls help...
    regards,
    ZaMaN

    not using standard forms functionality. But there is a jave bean for this http://fdegrelle.over-blog.com/article-16369853.html

  • Linking a library to a list - filtering data per selected drop down / check box item

    Good day,
    I am rather new to SharePoint and have run into a dilemma. Is it possible to link a library to a list, then create a parent-child relationship between the the department (list) to document (library)? 
    Example - I have a library that contains 100+ documents, the library is filtered using groups/subgroups. 
    IT
     -> IT TX (30 docs)
     -> IT WI (10 docs)
    Biz Ops 
     -> Biz Ops WI (8 docs)
     -> Biz Ops CA (5 docs)
    In the list I created I have departments as a required field, and a dropdown tool that shows the 5 departments that contain items that need to be grouped together. (Biz Ops, IT, HR, Sales, and Compliance)
    I have linked the library of documents to the form (list), using "Lookup (information already on this site)". All the documents in the library appear in the selection box within the list. However is it possible to first select a department which
    then filters documents only tied to said department? So at the beginning of the list you choose the department you wish to browse the documents, then it filters out all documents not related to that department? 
    My apologies if this is long winded and confusing. Your help is most appreciative. 
    Cheers. 

    Hi,
    According to your post, my understanding is that you wanted to filter the corresponding documents from a Document Library when you selected a department in a List.
    I recommend that you can follow the steps as below to implement it in your environment.
    1. Create a new Web Part Page and add the Document Library and the List web part into it.
    2. Click the List web part, click the current web part’s drop-down arrow, choose Connections, Send Row of Data To, and then choose the Document Library web part.
    3. Click the Document Library web part, choose the “All Items” view from the Selected View, click the current web part’s drop-down arrow, choose Connections, Get Filter Values From,
    and then choose the List web part.
    4. Open the Configure Connection – Webpage Dialog, choose the “Department” column from the Provider Field Name drop-down list and choose the “Group” column from the Consumer Field
    Name drop-down list.
    5. Click Apply, OK button, save the Web Part Page and test it in your environment.
    For more information, you can refer to:
    http://office.microsoft.com/en-us/sharepoint-server-help/connect-data-in-web-parts-HA101785157.aspx
    http://www.dummies.com/how-to/content/connect-web-parts-in-sharepoint-2010.html
    Best Regards,
    Linda Li
    TechNet Community Support

  • Select MULTIPLE default values for a multiple selection list box based on another field in Infopath 2010

    Hello there - Before I explain my issue, I would like to point out that I have reviewed some other discussions on selecting default values for multiple selection listbox. But my issue is specific and different, and not answered by any of the discussions
    I visited.
    I have a multiple selection list box (say for example all countries in the world as values), and I would like to pre-select or setup multiple default values (say five countries) based on some criteria that I query from MS SQL database table.
    I know we can go to Data | Default Values option to setup one or many default values for multiple selection list box. When I enter the default values manually this works. I also right click the field under the Multiple-Selection List Box group, then select
    Add another Value Below and set the Default Value for this field to setup multiple default values.
    However, if I reference a field (either an infopath field or a field from SQL database) I am not able to setup multiple default values. Infopath automatically selects the last field I selected for all instances and in the end I am able to see only one
    default value selected instead of many. How to fix this problem? Why would infopath allow multiple default values when we enter it manually but not when we reference some fields?
    Please let me know if you need more info. Appreciate your help.
    Thanks!

    Hi redhotc,
    According to your description, my understanding is that you want to set multiple default values for a multiple checkbox list in InfoPath form.
    I did a test with SQL database table. I set three default values for the checkbox list by adding three values field under the group field(Data->Default values), each value field is for a default value. Then publish it to my SharePoint site, everything
    was fine.Please have a try as the below link:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Note: if you are using SQL databse table, you may need to enable ‘Allow cross-domain data access for user form templates that use connection settings in a data connection file’ in CA. More information, please refer to:
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010customization.aspx?ID=418b9423-a96c-4e5e-91f9-6a1b010ebb69
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Dynamically populating data for the drop down lists

    Hi,
    I am trying to have a mutually dependent drop down lists in my page.
    This is what I am trying to do -
    Lets consider there are 3 drop down lists (Choice - Select Many). A simple example lists are - Country, State, County. Now users selects country from drop down, I need to get all the states for that country as the data for the "State" drop down list. Then user selects a state, I need to populate data for the "County" drop down list.
    I am trying to do this. I added a ValueChangeListener method in the backing bean and tried to add this on the "Select Many Choice" component. But the method is never fired. I tried to change few other properties like - "immediate", "Auto Submit". but method is not fired.The method in backing bean is as shown below -
    public void onRegionSelect(ValueChangeEvent event) {
        System.out.println("Value changed ==>> "+event.getNewValue().toString());
    Need some help on how to do this.
    JDev: Version 11.1.2.3
    Thanks.

    Hi,
    I am trying to have a mutually dependent drop down lists in my page.
    This is what I am trying to do -
    Lets consider there are 3 drop down lists (Choice - Select Many). A simple example lists are - Country, State, County. Now users selects country from drop down, I need to get all the states for that country as the data for the "State" drop down list. Then user selects a state, I need to populate data for the "County" drop down list.
    I am trying to do this. I added a ValueChangeListener method in the backing bean and tried to add this on the "Select Many Choice" component. But the method is never fired. I tried to change few other properties like - "immediate", "Auto Submit". but method is not fired.The method in backing bean is as shown below -
    public void onRegionSelect(ValueChangeEvent event) {
        System.out.println("Value changed ==>> "+event.getNewValue().toString());
    Need some help on how to do this.
    JDev: Version 11.1.2.3
    Thanks.

  • Email address list populated drop down disappearing on the to / cc / bcc fields when composing emails

    First the symptoms:
    As far as I can see this effects only the v5.0 RIM OS. We have a multitude of users and the ones who are affected all shared the same trait: they had newer, v5.0 OS preinstalled on their BBerries. The ones with v4.7 never had the problem (might be a coinsidence, nothing solid here)
    The user cannot see a drop down of email addresses prepopulated with the recently used ones, and with the option to "lookup" the email address. User starts typing the email address, and no drop down is shown while composing email.
    If the user manually types in the email address into the To, Cc or BCc fields, the adress will not be permanent and the email will not be sent at all. The "send" menu item will not be visible when the track ball is pressed.
    Quick remedy to send emails:
    Hit the enter key after typing in the email address. Do NOT switch to the next row using the track ball, or pressing the trackball. Hit the enter key. Then you will be able to send the email.
    Backing up the user files and wiping the handset and re-installing the OS seems to resolve the issue, alas, one user had the same problem again in a month after the operation. So that is NOT a permanent solution.
    Funny fix: On the affected device, go to email options -> Options / General Options / "Show recent contacts when composing email" and just switch it to whatever is in there. If it is Yes, make it No, if it is No, make it yes. Then save. And the drop down should become visible again. Counter-intuitively, this setting was YES on on affected device, we switched it to No just for the sake of having made a change, saved the settings and the drop down became visible with the setting at "NO". When we switched it back to "YES" the drop down became invisible again

    Once you have the Write window open, press F9 to open the Contact Sidebar. Select your contacts from there.

  • How do I remove email address not in contact list.they drop down when in the "to"field trying to either fwd ,send or reply. How did they get there in the first place. And the edit key does not show in my contacts

    When sending email wether reply or fwd or new addresses drop down that not show in my contacts. How do,I remove them and how did they get there?  And the edit key notmshowing in my contacts.
    Someone else's reply  nothing that could be done short of clearing out all contacts and starting over. But these are not in my contacts!!!!!!!!!! So,that is not an answer

    So are you telling me that anyone I ever send n email to will appear in the drop down list but not in contacts? I don't have that many contacts on list so are younsayingmi would have to remove them all to remove the unwanted address in the drop down to go away? If that is not  please explain

Maybe you are looking for

  • Error while retriving the connection uisng JNDI and DATASOURCE

    hi guys, i had a specifed data source in the the data-sources.xml of CONFIG folder of my application <data-source class="oracle.jdbc.pool.OracleConnectionCacheImpl" connection-driver="oracle.jdbc.driver.OracleDriver" location="jdbc/OracleDS_native" n

  • Additional columns in QA32

    Hi, Is it possible to include new columns like Production Work Center, Personnel No., Personnel Name, Execution Start Date and Time, Execution Finish Date and Time in QA32. The same data were already entered in CO11N. Kindly help me. Regards V. Devar

  • Can't import jpg's

    I am trying to import jpg's to organizer, I have imported about 38,000 images but there are some in some folders and all in some folders that will not import.    I have tried to right click on the folder and choose import to organizer, no go says the

  • Clustering and failover

    Sorry if this message was posted on more than one forum.           Here is the scenario:           We have 2 instances (A, B) running on a clustered server environment.           1. Shutdown Server A. All sessions on Server A fail to Server B.       

  • I know this is sooo basic, but how do I change the owner name?

    Sorry for such a basic question. I just bought this for my daughter and set it up and it has my name at the top toolbar and I want to change it to her name. Thanks.