Pre-Populating Text fields from a Data drop down list using SQL Server

I'm currently trying to update some of our internal forms which are word based or a basic PDF form you fill in by yourself.
I'm connecting to our SQL server as there are databases stored there for an internal bit of software that hold information
I can use to fill in parts the form.
I have a data drop down list that is dynamically linked to the SQL databass and allows you to select a Project Number from that database, what
I want to do after this is selected is to automatically populate some text fields with the Project name, Account handler and other fields held in the
database.
I've had a look online to see if there is a solution but haven't really found anythig that is similar (although I am new to LC so may have seen it
and not realised) and my Java is non existant.
Has anyone tried this and able to point me in the right directions?
I'm using LiveCycle ES2 version 9.0.0.2 from Creative Suit 5.5 on Windows 7
Cheers

Hi,
Actually this error does not cause any harm except a presentation inconvenience. In my multi-select prompt I am using variable expression with dynamic repository variable. Dashboard results are correct. Just variable's value does not appear on page (error Error Codes: G689FFB3:SDKE4UTF
Expression: @{biServer.variables['CUR_CAL_PER_MONTH_NAME']}). Pushing "GO" button on the prompt fixing the error but it's actually second execution of the dashboard.
Any ideas ??

Similar Messages

  • Populating Text Fields from XML Based Drop Down

    Hello,
    I'm new to the Adobe Livecycle I have been challenged to make a PDF form that pulls information from an XML file.
    I have been able to get the from to read the XML file and I have successfully created a dynamic pull down, but what I am having a problem with is that when an item is selected in the dropdown I want it to pull other information stored in the XML file.
    <user>
      <csrName>MyName</csrName>
      <csrExt>123</csrExt>
      <csrFax>123-123-1234</csrFax>
    </user>
    <user>
      <csrName>MyName</csrName>
      <csrExt>321</csrExt>
      <csrFax>999-234-1322</csrFax>
    </user>
    My pulldown reads each csrName and I can select whom I want, but how do I get <csrExt> and <csrFax> to pull over for the correct <csrName>? I figured it needs to be done by some code during the "Change Event" but I have not figured out what code is needed.
    Any help is greatly appreciated, if anymore information is needed just let me know and I'll share what I got.
    Thanks
    Derrick

    Thanks for the reply.
    Right now I'm starting with a blank form and once I get my head wrapped around this then I was going to modify what is already in use.
    I'm attaching my scheme and xml file.
    Thanks!
    Derrick
    I get an error when trying to upload my schema. I am pasting the content of the file here. I call it proofout.xsd
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="userList" type="UserList" />
    <xs:complexType name="User">
      <xs:sequence>
       <xs:element name="csrName" type="xs:string" />
       <xs:element name="csrExt" type="xs:int" />
       <xs:element name="csrFax" type="xs:string" />
       </xs:sequence>
       </xs:complexType>
       <xs:complexType name="UserList">
       <xs:sequence maxOccurs="unbounded">
        <xs:element name="user" type="User" />
        </xs:sequence>
        </xs:complexType>
        </xs:schema>

  • How to clear the existing names in USER NAME drop down list in Sql Server Management Studion in Sql Server 2008 R2`.

    Hi,
      We have Sql Server 2008R2 clustered instance running in 2 nodes with Windows 2008R2 SP1 operating system. I would like to know how I could clear the existing  names  in the USER NAME drop down list in the Sql Server Management studio.
    Thanking in you advance,
    Binny Mathew,

    SQL Server Management Studio 2008 delete the file:
    C:\Users\%username%\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\SqlStudio.bin
    http://dynamicsgpland.blogspot.in/2012/04/clearing-remembered-default-login-for.html

  • Exactly what does the Data Drop-down List do?

    What does the Data Drop-down List do? Is it used to make a drop-down list from certain records in a column in a table of a data base?

    Yes, this is exactly what it does. However, it's a custom control, not a built-in control. JavaScript is used to set it up. In order to use it you have to have a data connection in the document and modify the "Initialize" script, which is were the list is populated from the DB. The "Initialize" code is a good example of how to use XFA JavaScript to access a DB. However, the code is also written in a very general manor and takes the long way around to hooking up to the DB. Much shorter code can be written for a specific DB.
    Thom Parker
    WindJack Solutions
    www.windjack.com

  • Does anyone know how to Add a date drop down list to a pdf file?

    Can someone tell me how to add a Date drop down list in a form

    There's no built-in function that does that in Acrobat, but there are some third-party tools that do.
    The two most known ones are by FormRouter, which is free and based on form fields (but also a bit buggy), and a non-free version created by Max Wyss, which is based on a dialog object.

  • Data Drop-Down list

    I have a table with 2 columns: code, description and I view the descriptions in the data drop-down list (4 lines). it works.
    I want that if I type a new string in the drop-list (it works) - so it should be added to the table as a new record, so the next time I would
    go in to the form, it would show me 5 lines in the list.
    How can I do it???

    I have a table with 2 columns: code, description and I view the descriptions in the data drop-down list (4 lines). it works.
    I want that if I type a new string in the drop-list (it works) - so it should be added to the table as a new record, so the next time I would
    go in to the form, it would show me 5 lines in the list.
    How can I do it???

  • Populating the data from table onto drop-down list.

    Hi all
    The following code i have used in trigger 'when-new-form-instance'
    DECLARE
    group_id RecordGroup;
    list_id Item := Find_Item('Lines.classification');
    status NUMBER;
    rg_name varchar2(10) := 'rgroup';
    BEGIN
    clear_list(list_id);
    group_id := Find_Group(rg_name);
    IF NOT id_null(group_id) then
    Delete_Group(group_id);
    End if;
    group_id := Create_Group_From_Query(rg_name,
    'select meaning from lookup_values where lookup_type='TC_CLASSIFICATION' and lookup_code in('BUSINESS','PERSONAL')');
    status := Populate_Group(rg_name);
    Populate_List(list_id, group_id);
    END;
    i have created a Record_Group from Object navigator(name:'rg_name').
    and used it in the above code.
    after this i try to run the form, i am not able to see the value which i drop-down list
    can any one suggest me abt this, and any changes i need to do in the property pallet,...
    Thanks
    Raj

    u3 wrote:
    No, Populate_List requires that the record group is created at runtime.Actually you're wrong ;)
    POPULATE_LIST works with both, record groups created at runtime AND at design time.
    Try the below code on SCOTT schema with a list item and a button trigger:
    Record Group created at design time
    DECLARE
         RG_NAME VARCHAR2(10) := 'RGROUP';
         V_DUMMY NUMBER;
    BEGIN
         CLEAR_LIST('LIST_ITEM1');
         V_DUMMY := POPULATE_GROUP(RG_NAME);
         IF V_DUMMY = 0 THEN
              CLEAR_LIST('LIST_ITEM1');
              POPULATE_LIST('LIST_ITEM1', RG_NAME);
         END IF;     
    END;
    Record group Created at Runtime
    DECLARE
         GROUP_ID RECORDGROUP;
         RG_NAME VARCHAR2(10) := 'RGROUP';
         QUERY_TEXT VARCHAR2(1000) := 'SELECT ENAME, TO_CHAR(EMPNO) FROM EMP';
         V_DUMMY NUMBER;
    BEGIN
         CLEAR_LIST('LIST_ITEM1');
         GROUP_ID := FIND_GROUP(RG_NAME);
         IF NOT ID_NULL(GROUP_ID) THEN
              DELETE_GROUP(GROUP_ID);
         END IF;
         GROUP_ID := CREATE_GROUP_FROM_QUERY(RG_NAME, QUERY_TEXT);
         CLEAR_LIST('LIST_ITEM1');
         V_DUMMY := POPULATE_GROUP(RG_NAME);
         IF V_DUMMY = 0 THEN
              CLEAR_LIST('LIST_ITEM1');
              POPULATE_LIST('LIST_ITEM1', RG_NAME);
         END IF;     
    END;It does work with me both ways, I suggest you test it.
    Tony

  • How to Populate a drop down list using the values of a text field?

    Hi,
    I wanted to Populate the items of my drop down list according to the value entered in the textfield above it?
    also the value of list remains consistent in other rows also where i am using the drop down list field.
    Please Try to help me in this query.
    Thanks in Advance!!!
    I am using Javascript in adobe version ES 8.2.

    Part II:
    If you have other items for your droplist(s) that are to appear in addition to the "variable language" entered by a user you can add that to the script.  For example in addition to the Party1 and Party2 name appearing in my droplist I also want the list to have an option for a user to select: The parties jointly.  I add this to the script:
    this.addItem(Party1.rawValue);
    this.addItem(Party2.rawValue);
    this.addItem ("The parties jointly");
    If you have trouble making it work, post a bit of your actual form requirements.

  • Dates Drop Down List

    I have a table which stores a list of valid dates. These dates are then foreign keyed to another table date column
    I have a VO which selects a date field. In the attribute I have set it as Simpale Date and specified dd-MMM-yyy format. The default date format in the Application Definition file is dd-MMM-yyyy. I have created a domain for this VO and then set the Item to drop down list in the group. WHen I try and access the page with the dropdown list I get the following error :
    javax.faces.convert.ConverterException: Not a date
    Now, to confuse matters, If I set the date format in the VO to dd-MM-yyyy it runs the page and shows the drop down list in dd-MM-yyyy format. However, when I try and save it then throws an error for the FK saying the parent does not exist. I am assuming that this is because it is expecting dd-MMM-yyyy.
    Help please.
    Rich

    Rich,
    You could turn on ADF BC diagnostics (-Djbo.debugoutput=true) to see which date value it is trying to insert. Or You could also temporarily disable the foreign key constraint to see which value gets inserted.
    You can then compare the two values, it might be related to the "hidden" time component stored against date columns.
    In general, we recommend usage of meaningless Primary keys. So, if you have control over the DB Design, you might want to introduce an ID column in the dates lookup table to avoid the issue all together.
    Steven Davelaar,
    JHeadstart Team.

  • HCM Processes & Forms: Field not updating after Drop Down list selection

    Hello all,
    I am having a problem that I think happens a lot, but I can't solve it through all the examples given here.
    I have a Drop Down List where I change the value. On the CHANGE event, I have:
    xfa.record.CONTROL_PARAM.ISR_EVENT.value = "GET_ORGINFO";
    ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    I have defined a User Event called GET_ORGINFO. It gets triggered fine. It moves into my generic service that I defined, and it changes the value that I want to change.
    When I look at the PDF, the value is still in it's old value. So, after reading some blogs, which specifically says, if something goes wrong in one service (I have 3: my own, SAP_PA and S_MGRS_POSITIONS), they all fail. I debugged and checked, and, after some changes, nothing goes wrong anymore, nothing that I can see anyway.
    So what I do see, is that there's a call made like this:
      CALL METHOD me->process_data_container
        EXPORTING
          ref_to_data_container = ref_to_relevant_data_container
          operation             = c_do_operations
          message_handler       = dummy_message_handler
          no_auth_check         = no_auth_check
        IMPORTING
          is_ok                 = operation_ok.
    Within this method, my new value is listed (in the table VALUES_OF_FIELDS). After this call is made, so when it exists the method process_data_container, the old values are back in VALUES_OF_FIELDS.
    So, at the last moment INSIDE the method, the values are correct, as soon as it steps out of this method, the old values are back.
    Does anyone have any idea? Am I doing something wrong with regards to the User Events? I am on EnhP 04.
    Gr,
    Jaron Frenk

    Hey Chris,
    Unfortunately, that's not it. I did check the fields I need. Everything is going ok. As in, I get the fields (with their current values) in my own generic operation. I see everything updated the way it should. But then at the end, nothing happens...
    What exactly do you mean by " then make sure your own generic service has it's input/output defined correctly". What input/output do you mean? I assume the generic service itself is okay, since it works with the user event "USER_EVENT_CHECK". And it sure is possible I am forgetting something in the definition of the user event, but I can't figure out what.
    A small addition*
    I just checked by user event. I have 3 fields selected:
    I0001_PERSG
    I0001_PERSG_TXT
    I0001_PERSK
    The generic service should get the PERSG and PERSG_TXT based on the PERSK that is entered. I don't think I need anything more.
    Gr,
    Jaron
    Edited by: J. Frenk on Apr 26, 2010 9:01 AM

  • Drop down lists using VRM_SET_VALUES

    Hello All ,
      i am calling VRM_SET_VALUES for drop down list, by exporting the ID and VALUES.
    total i am passing 6 values,  so first time when i am in selection screen , it is displaying 6 values. fine ia m happy with this.
    after executing the selection screen , if i come back, and see the drop down list , now this contains 7 values, the extra 7th value is what i selected first time. (so what i selected first time is now coming again, this entry is duplicated, now this entry is displaying at the bottom of the list , in capital letters). i dont want this extra entry, can some tell a way how to remove this.
    P.S. i searched SDN , i dint find any problem releated this
    Thanks in advance.
    Best Regards,
    Amarender Reddy B.

    Hi,
    Refer code:-
    TABLES : Y_MOVIE.
    TYPE-POOLS: VRM.
    TYPES : BEGIN OF MOVIE,
            YR LIKE Y_MOVIE-YR,
            CATEGORY LIKE Y_MOVIE-CATEGORY,
            WINNER LIKE Y_MOVIE-WINNER,
            NOTES LIKE Y_MOVIE-NOTES,
            END OF MOVIE.
    DATA: NAME TYPE VRM_ID,
          LIST TYPE VRM_VALUES,
          VALUE LIKE LINE OF LIST,
          MOVIETAB TYPE STANDARD TABLE OF MOVIE INITIAL SIZE 10 WITH HEADER LINE.
    PARAMETERS: CATEGORY(10) AS LISTBOX VISIBLE LENGTH 10.
    AT SELECTION-SCREEN.
      IF CATEGORY EQ ''.
        MESSAGE E006.
      ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      NAME = 'CATEGORY'.
      VALUE-KEY = 'PIC'.
      VALUE-TEXT = 'PIC'.
      APPEND VALUE TO LIST.
      VALUE-KEY = 'MAL'.
      VALUE-TEXT = 'MAL'.
      APPEND VALUE TO LIST.
      VALUE-KEY = 'FEM'.
      VALUE-TEXT = 'FEM'.
      APPEND VALUE TO LIST.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          ID     = NAME
          VALUES = LIST.
    START-OF-SELECTION.
      WRITE : / 'Category Selected :', CATEGORY.
      ULINE.
      SELECT *
      FROM Y_MOVIE INTO CORRESPONDING FIELDS OF TABLE MOVIETAB
      WHERE CATEGORY = CATEGORY.
    END-OF-SELECTION.
      WRITE : /1 'Year', 6 'Category', 16 'Winner', 50 'Notes'.
      ULINE.
      LOOP AT MOVIETAB.
        WRITE : /1 MOVIETAB-YR, 8 MOVIETAB-CATEGORY, 16 MOVIETAB-WINNER, 50 MOVIETAB-NOTES.
        ULINE.
      ENDLOOP.
      IF SY-SUBRC  0.
        MESSAGE I005.
      ENDIF.
    Hope this helps you.
    Regards,
    Tarun

  • How can I make a bound drop-down list using OAF?

    Please note, this is for OAF. I am aware of the support in ADF.
    I'm sorry this is such a basic question, but I've been trying for days, and I can't think of anywhere else to look for an answer.
    I need a simple drop-down list, not a search. This particular list only has 10 or so items. It is based on a view containing a code value, and a description. I need all descriptions to be available at all times. Just click the arrow, and the entire list is displayed. When the user selects an entry, the code associated with the discription populates a bound attribute. Ideally, when the page is instantiated, the code value controls the text value visible in the collapsed drop-down list. Visually, it would be similar to an html <select> element.
    Can someone please tell me how I can produce such a simple thing, or point me to some documentation?
    Thank you.

    Thank you for the excellent reference Peddi. I had played with the OAMessageChoiceBean component yesterday, but I was able to tell from your instructions that "Picklist Display Attribute" and "Picklist Value Attribute" really are not for binding to the database EO. That was the key piece of information that had me confused.
    In addition to adding the messageChoice component to the page, I needed to write some code to synchronize the picklist value with the corresponding code value, which I placed in am OAFormValueBean (hidden form field) which I could then bind to my application's database EO in the controller, running in the processFormRequest procedure:
    /** Synchronize the catalog code with the selected catalog name */
    protected void syncCatalogValues(OAPageContext pageContext,
    OAWebBean webBean, MyApplicationAMImpl am) {   
    OAMessageChoiceBean mcb =
    (OAMessageChoiceBean) webBean.findChildRecursive("CatalogName");
    OAFormValueBean cc =
    (OAFormValueBean) webBean.findChildRecursive("CatalogCode");
    String catalogDescription = mcb.getText(pageContext);
    if (catalogDescription != null) {
    String catalogCode = am.getCatalogCode(catalogDescription);
    cc.setValue(pageContext, catalogCode);
    Along with a little code to get the catalogCode value from the LOVVO, that's all it took.
    Thanks again. This was a great help.
    Pete

  • How to initialize a Prompt drop-down list using a Repository Variable.

    Hi,
    the aim is to fill a drop-down list of a Year prompt only with year values that can provide data.
    This Show list SQL statement works:
    SELECT Time."Year" FROM "AnalysisCatalog"
    WHERE Time."Year" <= 2007
    Using the maxYear Repository Variable does not work:
    SELECT Time."Year" FROM "AnalysisCatalog"
    WHERE Time."Year" <= @{biServer.variables[’maxYear’]}
    Error Codes: G689FFB3:SDKE4UTF
    Expression: biServer.variables[’maxYear’]
    How can I achive the result without hardcoding the Year 2007?
    Mny thx Thomas

    Hi,
    Actually this error does not cause any harm except a presentation inconvenience. In my multi-select prompt I am using variable expression with dynamic repository variable. Dashboard results are correct. Just variable's value does not appear on page (error Error Codes: G689FFB3:SDKE4UTF
    Expression: @{biServer.variables['CUR_CAL_PER_MONTH_NAME']}). Pushing "GO" button on the prompt fixing the error but it's actually second execution of the dashboard.
    Any ideas ??

  • Creating a drop down list using acrobat forms

    I'm working on a macintosh computer, sysem 10, acrobat 9.
    I'm a financial printer and I'm making a prepress order form in a pdf file
    I want to make a drop down list so that I can change print venders.
    The information in the drop down list will contain my print venders critical information , for example:
    Name of vender
    primary contact: Names & phone number & fax number
    email address, etc.
    I haven't really worked with forms before. I was able to set up my text fields and check boxes OK.
    But I can't seem to figure the combo boxes or list boxes so I can enter the information I just described.
    Any help would be appreciated.
    Thank you
    Daniel G

    Any one has answer for this question yet? we got the same problem in one of our work projects and kinda stuck there now. thanks in advance. ________________________________________________________________
    movie
    phim media... music
    nhac online the world of
    wholesale fashion and ovely
    phim han quoc film..?!!

  • Firefox drop-down lists make X server crash

    Hey guys,
    I am requesting for help because I am having a really annoying bug I can't find assistance for online.
    When drop-down lists come up in firefox (such as the autocomplete when typing something on the search box), every now and then, it makes the X server crash. It is really not happening every time but it is enough to make the X server crash some at least once a day, often more. This also happens when such drop-down lists come up in Zotero, and add-on I am using.
    It seems somewhat similar to what has been reported here: http://bbs.archlinux.org/viewtopic.php?id=96137
    I am not quite sure which logs should I be looking at nor where should I report this. Could someone help me figuring this out?
    Thanks ,
    Michael

    I am also having the drop down problem on my macbook, it's getting really annoying. On top of that, twice today (i just got the macbook three days ago) my keyboard will just stop working- i cannot type in firefox nor in finder or word.

Maybe you are looking for

  • Is it possible to install Mountain Lion on a Macbook Pro 2,1

    I've heard it's possible to install Mountain Lion on several unsupported Mac models, but i was wondering if it's possible for the MacBook Pro 2,1 late 2006 model? Here's the link for the unsupported model http://www.karthikk.net/2012/02/15-steps-to-i

  • Primary line number

    Hi Cisco techs, 7912 IP phone fails to register in CME 3.3.  CME shows name of user, MAC address, phone sequence number, telephone number and the type being normal but doesn't register when doing command sh ephone registered Replies with no ephone in

  • ..:: on getting 2 combo boxes to bind to single components?  --  (based on xcTrips XML tut)

    <<<<<<<PLEASE SKIP TO THE REPLY>>>>>>>> Ive built an app using the xcTrips tutorial from the flash xml resource page. It works great. (Links if needed-->) http://download.macromedia.com/pub/developer/xml_connector.zip http://www.adobe.com/devnet/flas

  • How to download from you tube

    Hello friends Hello friends!  Could somebody tell me how to download videos from You Tube?  Do I need an application?  Thanks.

  • SSD slow bootup time

    Hi, So I installed a Samsung 830 512gb ssd onto my Macbook Pro. From what I've seen the bootup time should be about 15-20 seconds. However, mine is about 40-45 seconds and I'm not sure why. I cloned my orginal hd onto my SSD, could that be the reason