Dynamic forms from 2 tables

Hi, (Sorry for the long post)
DB Table one contains 4 fields:
EventName
Venue
Price
Date
Form one is used by the owner to enter the data for an event into the DB Table One - there are several different events.
DB Table two contains 7 fields (4 of the fields to retrieve data from table one)
Name
contact
email
Event Name
Venue
Price
Date
Form two is for a person registering for one of the events entered into DB table one.
I set up a recordset called rsListEvents and then used the "Insert Record Form Wizard" to create form two with the following fields:
EventName
Venue
Price
eDate
which I set to defaults
{rsListEvents.EventName}
{rsListEvents.Venue}
{rsListEvents.Price}
{rsListEvents.eDate}
I have a page listing the events and when register for this event is clicked I was hoping the data from table one would be entered into form two and the user then fills in the rest manually where all the data is entered into DB table two.
Unfortunately even though the URL indicates that the correct information from table one should be entered into form two .php?id_event=2
The data from DB table one row id_event=1 is always displayed no matter what the record number is.
Can anyone tell me where I have gone wrong
Thanks
laurence

I am simplyfing this so I can get help on a basic level ( Mr basic)
Why does this not work?
I set up a Dynamic List using DB Table 1 and set the detailed page.
I set up a record set on the detailed page using the same table.
SELECT *
FROM addEvents
When I test I get the results from ID 1 no matter which one I choose. But when I test the RS I get both dummy entries 1 and 2
So I am missing something that needs to be appended to the URL.
L

Similar Messages

  • All Records are not getting displayed in adobe form from table

    Hi All,
    I Want to display records from table  to Adobe Form Table .
    But While Displaying only some of the records are getting displayed How can i display all the records in next pages of adobe form.
    Its Urgent PLZ Reploy soon.
    Thanks & Regards
       Kiran

    dear friend,
    please check the adobe format, must be match to
    the data base format.
    pls go to the setting and adjust the data base table.
    if nothing is going click the radio button
    html format.
    that will work.
    rewards are expecting.
    vivek

  • How do I translate a dynamic form from english into spanish?

    With your assistance, I was able to create a dynamic form with expandable text fields. Now I am being tasked with translating this form from English into Spanish.  I do not know how to edit the words in the text box captions so that the appropriate accents are added.  Currently, the text font is Myriad Pro.

    Hi,
    check my example.
    It explains how to design multiligual forms.
    http://thelivecycle.blogspot.com/2010/01/multiligual-forms.html

  • How to Create Dynamic form using table data

    Dear All,
    I have one Table called PRODUCT_MASTER where product details are stored. Say product A,B,C,D are stored in the table. Another table called SUB_PRODUCT_MASTER, which contains sub product details.Say A1,A1,B1,B2, B3,C1, C2, C3, D1,D2,D3.
    Now, I want to create a dynamic form based on product,sub product. for a whole month. For better under standing here is the format.
    PRODUCT A B C D
    SUB_PROD A1 A2 B1 B2 B3 C1 C2 C3 D1 D2 D3
    Days
    1 x x x x x x x x
    2
    3
    4
    5
    6
    7
    Now whenever I add one row in the PRODUCT)MASTER table and SUB_PRODUCT_MASTER table, Form should add one column in the form automatically. e.g. If I add Product E with two Sub product E1 and E2 then form should add ptoduct E column in the form with sub products E1 and E2 as per above format. Here days are fixed to 31. This forms should accept product wise daily despatch entry. For
    storing despatch entry another table is created.
    Please help to create this type od forms.

    You want I believe to create Croos-Table(Matrix) form. Visit Cross-table (matrix) forms layout and add "Please Send me too".

  • Calling Oracle Application Form From Table Action (Single Select)

    Can I call a Oracle Application Form From a Table (Table Select, Select Button).
    I also See Destination Function Could That Be Used to Launch Oracle Application Form Using One of the Columns Data (Service Request ID to Launch Service Requests Form)
    Let me know
    Thanks

    Can I call a Oracle Application Form From a Table (Table Select, Select Button).
    Yes can call on select Button
    Thanks

  • Generating Dynamic form from static context.

    Hi All
    I have  static context node structure
    Section  (Node)
          QuestionText  (Attribute)
           AnsText  (Attribute)
    I have populated the values in this node from an RFC in my code .
    Now i need to create a form dynamically with QuestionText as labels and AnsText as input fields.
    I have written the following code
    for(int i = 0; i< wdContext.nodeSection().getSize; i++)
    IWDInputField  inp_Ans = (IWDInputField)view.createElement(IWDInputField.class,"ID"+i);
    IWDAttributeInfo ansAtrib = wdContext.nodeSection().getNodeInfo().getAttribute("AnsText");
    inp_Ans.bindValue(ansAtrib);
    This way i have bound  a single attribute to all inputfields.
    So the value in the first element of AnsText appears in all inputfields.
    In case of tables it works fine but i need to create the form.
    Kindly help me in solving the issue.
    Regards
    Sonal

    It is not possible to bind UI elements against node elements, only inside context-driven UI elements like Table, RowRepeater etc.
    What you can do is
    - use a RowRepeater, or
    - create separate context attributes instead of node elements and bind the programmatically created Label and InputField elements to these attributes
    Armin

  • How can I populate a dynamic form from Excel data (beginner)

    I am reasonably certain this is beginner-level but I cannot seem to figure out how to do this. I have data in an ecxel file and I would like to import that data into a form using LS. I need to distribute the unique data to each recipient. (I have included an example below) I would really appreciate any advice. If there is a tutorial that explains this I would be happy to go through that. Thanks in advance.
    Customer
    Acct No
    Equipment
    Sales Rep
    Email
    Pear Computing
    1
    Motherboard A
    Jim Smith
    [email protected]
    Pear Computing
    1
    Video Card A
    Jim Smith
    [email protected]
    Orange Computing
    2
    Motherboard B
    Jim Smith
    [email protected]
    Orange Computing
    2
    Super Mouse
    Jim Smith
    [email protected]
    Plum Computing
    3
    Awesome Monitor
    Tanya Smith
    [email protected]
    Apple Computing
    4
    Motherboard S
    Tanya Smith
    [email protected]
    Apple Computing
    4
    Super Mouse II
    Tanya Smith
    [email protected]
    Raisin Computing
    5
    Motherboard R
    Bob Smith
    [email protected]
    Cherry Computing
    6
    SoundLoud Soundcard
    Bob Smith
    [email protected]
    I would like to send a template e-mail to each sales rep at "PC.com" that says:
    Dear <SalesRep>,
    <Customer> has the following equipment:
    <Account No> | <Customer> | <Equipment>
    I would like all the data for each customer to go to the sales rep. For instance, Jim should get an e-mail stating that "Pear Computing" has two items, and a separate e-mail stating that "Orange Computing" has two items. What I want to avoid is the MS Word mail merge solution that equates to Jim getting 4 emails. I would like the equipment to be grouped by customer number or account number. I would prefer to have a dynamic layout with flowed page as the number of items per customer will vary.
    PLEASE HELP!
    JD

    you can copy/paste data from Excel to Illustrator

  • Dynamic read from table  with DBMS_SQL Block

    Hi,
    In the orcale8 Application developer's Guide is this example:
    -- To select everything from this table and move it into four PL/SQL tables, you could use the following simple program:
    c number;
    d number;
    n_tab dbms_sql.Number_Table;
    d_tab1 dbms_sql.Date_Table;
    v_tab dbms_sql.Varchar2_Table;
    d_tab2 dbms_sql.Date_Table;
    indx number := 10;
    begin
    c := dbms_sql.open_cursor;
    dbms_sql.parse(c, 'select * from multi_tab order by 1', EXEC_sql.V7);
    dbms_sql.define_array(c, 1, n_tab, 5, indx);
    dbms_sql.define_array(c, 2, d_tab1, 5, indx);
    dbms_sql.define_array(c, 3, v_tab, 5, indx);
    dbms_sql.define_array(c, 4, d_tab2, 5, indx);
    d := dbms_sql.execute(c);
    loop
    d := dbms_sql.fetch_rows(c);
    dbms_sql.column_value(c, 1, n_tab);
    dbms_sql.column_value(c, 2, d_tab1);
    dbms_sql.column_value(c, 3, v_tab);
    dbms_sql.column_value(c, 4, d_tab2);
    exit when d != 5;
    end loop;
    dbms_sql.close_cursor(c);
    Here the four tables can be used for anything at all. One usage might be to use BIND_ARRAY to move the rows to another table by using a query such as 'INSERT into SOME_T values(:a, :b, :c, :d);
    exception when others then
    if dbms_sql.is_open(c) then
    dbms_sql.close_cursor(c);
    end if;
    raise;
    at the second 'dbms_sql.define_array' comes an ORA-0600 error.
    What's wrong ?

    Some solutions posted here : {message:id=9689485}

  • Make Dynamic Form from sql query

    Hi... i'm trying to create a VO with sql query, but the attributes for this Vo are should made from rows from sql query not from columns, how i can do this?
    example
    NOMCAMPODATOS -- ORDENBLKWEB
    PLANMINFIANZAS --
    SERIEID -- 5
    CODREMOLQUE -- 4
    CODFORMPAGO -- 24
    CODCIUDAD -- 13
    DIREC -- 10
    EMAIL -- 17
    FECFINVIG -- 20
    VO example
    attributes:
    PLANMDIANZAS NUMBER
    SERIEID NUMBER
    CODREMOLQUE NUMBER
    ETC..
    Edited by: JLopezJujuy on 18-dic-2012 10:01

    Try a PIVOT operator in your SELECT command, or one of the other ways to turn rows into columns. Look in the SQL manual for more information, or ask in the SQL and PL/SQL forum.
    By the way, this doesn't sound like a very good database design. Have a look at this "Ask Tom" thread for a discussion about what is wrong with it - http://asktom.oracle.com/pls/apex/f?p=100:11:0::NO::P11_QUESTION_ID:10678084117056

  • How can I store a form name with path and then call form from a table

    Is it possible that any form that I built I store that form in some table in DB and then call that form from table, if yes, then how can i get this functionality. I am not very experience in form and do not know if it can be done because i think if it is possible then this can be a good security for application and easy to handle as well.
    Thanks in advance
    Maz

    If you have a Forms block based on this table:
    declare
      module varchar2(100);
    begin
      module := :block.column;
      call_form ( module ) ;
    end;If you don't have any blok based on that table
    declare
      module varchar2(100);
    begin
      select  module_name
      into module
      from ...
      where ...
      call_form ( module ) ;
    end;Francois

  • Open a Dynamic URL from a Table column link

    Hi,
    Jdev Version (11.1.1.6.0)
    I have requirement to open a dynamic URL from table column. Any time I click on link, it should generate dynamic URL based on column attribute and open in popup or browser. Can someone pls suggest how to achieve this.
    Thanks
    Ank

    1)If you have any parameters that needs to be passed to build that dynamicURL, just set a propertyListener on the column attribute and get the value.
    2)Then on the af:commandLink action, build your dynamicURL with the required parameters.
    3) If you URL is all together a different application which doesn't share your transaction, you can open it as below
    In the below code, urlWithParams will be your dynamicURL.
    ExtendedRenderKitService erks =
    Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
    StringBuilder sbURL = new StringBuilder();
    sbURL.append("window.open(\"" + urlWithParams + "\");");
    erks.addScript(facesContext, sbURL.toString());
    You can also try the above response by user 948181.
    Hope it helps.

  • Is it possible to update multiple tables with a dynamic form?

    I have columns from two tables populating a dynamic form. I am trying to have the form update both tables on submit. I have tried both a linked transaction and a custom transaction but I am not making progress. Only the master table is being updated. Is it possible with ADDT to update two tables with a dynamic form?

    I meant
    SXMSMSTAT
    SXMSSYERR
    Thanks.

  • Dynamically populating a dropdown list in a pdf form from a datasource

    Is there a way to populate a dropdown list in a pdf form from a datasource, specifically from an Access database table or query, using LiveCycle Designer. I am easily able to do this using cfselect in Coldfusion, however, cannot seem to figure it out for pdf forms. I am aware of the Show Dynamic Properties option enabled in LiveCycle Designer, and then binding to a datasource. However, this seems limited as I am only able to select single columns from Access (currently using an Access database) tables, and a unable to select from queries like I do using cfselect in Coldfusion forms. Is this something that must be done with Java scripting? If so, is there any other way? I know nothing about scripting. Thanks

    Derrick,
    There is a sample posted at
    http://www.adobe.com/devnet/livecycle/articles/lc_designer_db_lookup_tip.pdf
    It was created for Designer 7.0 but it should function the same in later versions of Designer.
    Steve

  • Update fields from Adobe Form to Table

    Hello,
    I want to integrate Adobe Form into Webdynpro ABAP Application in which I want to have 2 fields which need to be updated to a DB Table.
    For this first I created an Interface in Transaction SFP , added 2 import parameters of type <Table Type>-<FieldName>. Then I created a Webdynpro Component created a new I Interactive Form UI Element and binded the Context of the Form to the Interface.
    Then I added 2 fields to the form from Data View . Everything is fine but when I run the Webdynpro Application the fields are not available for Input.i.e. They are in the ReadOnly Mode.
    The 'enabled' property of the Interactive Form is checked.
    Please help.
    Any help would be highly appreciated.
    Thanks.
    Edited by: SAPEPDeveloper on Feb 7, 2011 11:45 PM

    Hi,
    The process explained is ok, but I can explain you a better way.
    1) Create the webDynpro Component first.
    2) Create the context nodes as per the requirement.
    3) From the 'integration' panel drag and drop the Interactive form UI element into the view.
    4) Bind dataSource to root context node.
    5) Check enabled property true.
    6) Give a template source name (ZName).
    7) On double clicking the template source, system will prompt you to enter the interface name. Map context node to the interface.
    8) Interface gets created automatically and the lifecycle designer gets opened.
    9) Goto the properties tab and give layout type as 'ZCI Layout'
    10) Drag and drop required fields from the data view to the layout designer.
    11) Insert webdynpro script from the Utilities
    12) Edit -> Form Properties -> Defaults -> XDP Preview Format should be dynamic
    13) Drag and drop 'Submit Button' from Library palette -> Webdynpro native controls
    On clicking the submit button at runtime you will get the control in the webdynpro submit event.
    Above all these you have to check with your basis team, that the 'usage credentials' have been applied while configuring the ADS. Go to SE38 and run the program 'FP_TEST_IA_01' and check whether it is giving an error message or not.
    Hope this Helps.
    Thanks & Regards,
    Sanoosh

  • Get values from dynamic form items

    Hi All,
    I create a dynamic form with text input component
    private function buildForm():void{
                    var numberOfColumns:Number = 5
                    var formItem:FormItem = new FormItem();
                    var hBox:HBox = new HBox();
                    for(var i:Number=0; i< numberOfColumns; i++) {
                        var formInput:TextInput = new TextInput();
                        formInput.text = "test";
                        formInput.id = "txt_" +i;
                        hBox.addChild(formInput);
                    formItem.addChild(hBox);
                    loansForm.addChild(formItem);
    I can see the text input components, update the values.
    How can I get the updated values from the input components?
    I try  this["txt_" + i].text  but not working. It's not finding the component with the dynamic value.
    Any ideas?
    Thanks
    Johnny

    Hi,
    Here is the related thread, u will get some help
      http://forums.adobe.com/message/3075226
    Thanks and Regards,
    Kanchan Ladwani | [email protected] | www.infocepts.com

Maybe you are looking for