Populating multiple blocks on one form

I have two blocks on the same form, all blocks are from tables in the same database.
I am using 'EXECUTE_QUERY' in the 'WHEN-NEW-FORM-INSTANCE' trigger to populate the blocks but only one block is populated.
Any suggestions?
Thanks in advance.

If the tables are related then you can use a Relationship on the master table to query the detail table every time the user navigates to a new record.
If not then doGo_Block('block2');
Execute_Query;
Go_Block('block1');
Execute_Query;to query both blocks.
James.

Similar Messages

  • Adding data to multiple tables using one form in Access 2010?

    Hi All,
    I have a access database with two tables and I want to create a single form to enter data into that tables.
    How to adding data to multiple tables using one form in Access 2010?
    I don't have to much knowledge of access database?
    Please help me
    Thanks
    Balaji

    You really don't enter identical data into 2 tables.  You enter dat into one single table, and then you have an unique identifier that maps to another table (you have a unique relationship between two tables). 
    Maybe you need to read this.
    http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx
    Think about it this way...  What is you update data in 2 tables, and then the data in one of those tables changes, but the data in the other table does NOT change.  WHOOPS!!  Now, you've got a BIG problem.  For instance, you have a customer
    named Bill Gates.  In one Table you update Bill's address to 1835 73rd Ave NE, Medina, WA 98039 and in the other table you accidentally update Bill's address to 183 73rd Ave NE, Medina, WA 98039.  Now you have 2 addresses for Bill.  Why would
    you want that???  Which is right?  No one knows.  If you have one address, you just have to update one address and if there is a mistake, you just have to update one address, but you don't have to waste time trying to figure out which is right
    and which is wong...and then update the one that is wrong.
    Post back with specific questions.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Multiple connection in one form, is it possible?

    Im trying to access two different database (P.O.7 and the other is an ODBC Compliant) in one form.
    First thing i did was to run the wizard on each block using different login (1 for my PO7 and also the other) and it was successful, but when I try to execute the form, it just cant recognized the other block! since im only connected to other datasource....
    Any suggestion on what should i do with this....

    Check out the EXEC_SQL command under help in Forms
    The EXEC_SQL package allows you to access multiple Oracle database servers on several different connections at the same time. Connections can also be made to ODBC data sources via the Open Client Adapter (OCA), which is supplied with Developer. To access non-Oracle data sources, you must install OCA and an appropriate ODBC driver.
    The EXEC_SQL package contains procedures and functions you can use to execute dynamic SQL within PL/SQL procedures. Like the DBMS_SQL package, the SQL statements are stored in character strings that are only passed to or built by your source program at runtime. You can issue any data manipulation language (DML) or data definition language (DDL) statement using the EXEC_SQL package.

  • Inserting into multiple tables on one form using UIX

    We are developing an application using struts and UIX. We would like to be able to insert into three tables on one form(view). How can we accomplish this?

    This is more of an ADF question, you'll need to set up view object, than just drag it from the data control palette like normal.
    If it's not already set up as a view in the db (split into multiple tables), you'll need to create a view object that includes all the fields you want, based on multiple entity objects.

  • Multiple records from one form

    Hi everyone,
    I am creating a sign-up form for users of a website - i need
    them to select from a number of categories that they want to be
    listed in. i am using a series of check boxes for them to select
    the categories. What i want to do is create a separate record in my
    MySQL DB for each check box that is ticked that contains the user
    ID and the category ID. is there a way to do this from just one
    form?

    dhewuidhjklhdwidh wrote:
    > I am creating a sign-up form for users of a website - i
    need them to select
    > from a number of categories that they want to be listed
    in. i am using a series
    > of check boxes for them to select the categories. What i
    want to do is create a
    > separate record in my MySQL DB for each check box that
    is ticked that contains
    > the user ID and the category ID. is there a way to do
    this from just one form?
    You can save them in a SET column. A SET column type allows
    you to store
    up to 64 predefined values in a single column.
    Create the checkbox group as an array by adding square
    brackets to the
    end of the name value like this:
    <input type="checkbox" name="category[]" value="catA"
    />
    <input type="checkbox" name="category[]" value="catB"
    />
    <input type="checkbox" name="category[]" value="catC"
    />
    To insert the values in a SET column, use implode() to create
    a
    comma-separated string:
    if (isset($_POST['category'])) {
    $_POST['category'] = implode(',', $_POST['category']);
    else {
    $_POST['category'] = '';
    More about the SET column type here:
    http://dev.mysql.com/doc/refman/5.0/en/set.html
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • LiveCycle Designer 8.0 - Need multiple signatures on one form

    Hi
    I am very new to LiveCycle Designer, and do not have ES, and probably cannot get it. I have created a form that needs to accept multiple signatures from 6 or more people.  The form was initiated from a Word-generated PDF.
    I created a table that has four columns, one for the person's title, another for the signature, the remaining columns are irrelevant for this discussion. The person associated with the "title" signs in the Signature column in that same row. In the PDF version of the form, Acrobat 9 allows two signatures, but no more. How can I get Acrobat to accept signatures for all 6+ individuals? The two sigs I got were in subsequent rows.  If I can get Acrobat to accept additional sigs, do the sigs need to take place in strict order (1st row, 2nd row, 3rd row...), or can the signers sign in any table row?
    Please let me knowif you have additional questions for me that can help you understand how to solve this issue.
    Thanks,
    AR

    Thank you Srini,
    This is what I did, for anyone else with the same issue:
    Tocreate signature fields in LiveCycle Designer:
    Highlight the field. In the Object pallet Type field, select: Document Signature Field.
    On the Document Signature tab, make sure that Lock Fields After Signing is not checked.
    These fields are a quick way for users to add a digital signature in Adobe Reader.
    This seems to work well. I appreciate the help.
    Just to bring it full circle, how do you delete a document signature field? Haven't found it in the Help.
    Thanks much!
    AR

  • Insert/update multiple tables from one form.

    I'm working on an app. that requires the user to fill out a form. The contents from the form is then used to either insert new records or update existing records in multiple tables. Is that possible? Can someone give a details example?

    You should create a form like you would create it having one table. Use row_id as primary key. The rest of the process are done by the triggers - those will take care of updating the right table depending which column was hit.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to work with two blocks in one form

    i need help,i moved the control from block(abc) to another block(xyz) using go_block('xyz') and then i insert record to block(abc) but the record is not inserted to the table .
    i used previous_block but it is not working
    how to use it.

    Hi,
    You have written the code in when-window-activated? If yes then as soon as the window of xyz is activated the code starts running and populating the data (i.e. department code and its name) from table to the block, one by one. It seems that the block 'xyz' is like detail block. Am I right? U want the record row by row, isn't it?
    In this case, have you been able to populate your xyz block more than 1 records by the help of the code you have written ? If yes then use commit_form in the when-button-pressed trigger associated with the proposed button.
    I just can't understand how your code populates xyz block when you are writing :
    fetch DEPARTMENT into :DEPARTMENTS.DEP_CODE,:DEPARTMENTS.DEP_NAME;
    instead of fetch DEPARTMENT into :xyz.DEP_CODE,:xyz.DEP_NAME;
    Pls tell me the detail result you r getting.
    Regards,
    Pragati.

  • Multiple Languages in one Form

    Hello,
    I have a requirement to replace a preprinted form and create a form in SAP that contains  texts in multiple languages. e.g. Russian, Greek, Bulgarian, German, English etc.
    The  form also contains single lines of text with multiple Languages.
    Does anybody know how to achieve this?
    We are on ERP 6.0.
    Greetings,
    Thomas

    if your using the smartforms : 
    you can use multiple include texts
    if it is EN
    Text Name         &GV_DEL_NUM&
    Text Object       VBBK
    Text ID           ZSO6
    Language            EN  pass here
      if it is DE
    Text Name         &GV_DEL_NUM&
    Text Object       VBBK
    Text ID           ZSO6
    Language      DE pass here
    like create multiple texts.
    if it is SCRIPT
    use read_text  multiple times and based on language
    finally  CONCATENATE texts into single line......

  • How to run multiple reports From One Form with 1 report object?

    Hi ALL!
    i want to run multiple reports (in 10g technology) from 1 Form having only 1 report object.
    i.e
    IF parameter=yes THEN
    Rpt_new should run
    Else
    Rpt_old should run
    END IF;
    How can i do this?
    thanks
    rana

    Rana,
    I found this in the Forms online Help. You could easily found it yourself. Don't be afraid of pressing CTRL-H:
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME, 'yourreportsfilename.rdf')Regards,
    Martin Malmstrom

  • Simultaneous update of multiple records thru' one form

    Hi
    I am developing an online stocks inventory, where in a dealer places his order and fills in the reqd details. This goes to a table (Orders) in the database.
    Now the Orders Admin (in the stores dept) views all the new orders and allots acceptance number to each order.
    He may have multiple orders from the same dealer or from different dealers.
    The purpose is I provide him with a HTML form which displays all the orders with status=new. Following is what he may see - values displayed from the Orders table.
    DealId Product Qty Amt AcceptNo
    1 AB 1 100
    2 XY 2 200
    UPDATE
    The Orders Admin only has to fill in the AccptNo for all the new orders that he sees and the Orders table has to be updated with this single form.
    Is this possible.
    Please help me urgently
    Regards & Thanx in Advance.

    As stated earlier I have a Order Placement form for the dealers. Here they place their orders online and submit the form. The details they enter are stored in Orders table in a database. This order is sent for processing. This is an external operation for the users of our products.
    This table has two extra fields AccptNo and DelDate, which are filled in by the Admin of the Stores Dept of our company. The Admin then logs in and views the new orders. He sees the new orders displayed in the following format. The data shown is from the Orders table.
    He is then reqd to just fill in the Accpt No and Del Date against the requisite Order.
    Having finished filling up all the details he clicks the Submit button which updates the Orders table. i.e the existing records are updated with the accptno and del dates or rather the records are overwritten.
    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 1</title>
    </head>
    <body>
    <p><b><font size="3" face="Arial Unicode MS" color="#FF0000">Orders - Admin
    Page.</font></b></p>
    <b><font size="2" face="Verdana" color="#0000FF">
    Following are the new pending orders.</font></b>
    <form method="POST" action="updtOrd.jsp">
    <div align="center">
    <center>
    <table border="1" cellspacing="0" width="68%" bordercolor="#000080">
    <tr>
    <td width="13%" align="center"><font size="2" face="Arial Unicode MS"><b>Dealer
    Id</b></font></td>
    <td width="11%" align="center"><font size="2" face="Arial Unicode MS"><b>Product</b></font></td>
    <td width="13%" align="center"><font size="2" face="Arial Unicode MS"><b>Quantity</b></font></td>
    <td width="10%" align="center"><font size="2" face="Arial Unicode MS"><b>Value</b></font></td>
    <td width="53%" align="center"><font size="2" face="Arial Unicode MS"><b>Acceptance
    No.</b></font></td>
    <td width="53%" align="center"><font size="2" face="Arial Unicode MS"><b>Delivery
    Date</b></font></td>
    </tr>
    <tr>
    <td width="13%"><font size="2" face="Verdana">d0116033</font></td>
    <td width="11%"><font size="2" face="Verdana">ABC</font></td>
    <td width="13%"><font size="2" face="Verdana">100</font></td>
    <td width="10%"><font size="2" face="Verdana">100000</font></td>
    <td width="53%"><input type="text" name="T1" size="20"></td>
    <td width="53%"><input type="text" name="T6" size="20"></td>
    </tr>
    <tr>
    <td width="13%"><font size="2" face="Verdana">d0116065</font></td>
    <td width="11%"><font size="2" face="Verdana">XYZ</font></td>
    <td width="13%"><font size="2" face="Verdana">160</font></td>
    <td width="10%"><font size="2" face="Verdana">16000</font></td>
    <td width="53%"><input type="text" name="T2" size="20"></td>
    <td width="53%"><input type="text" name="T5" size="20"></td>
    </tr>
    <tr>
    <td width="13%"><font size="2" face="Verdana">d0116058</font></td>
    <td width="11%"><font size="2" face="Verdana">PQR</font></td>
    <td width="13%"><font size="2" face="Verdana">300</font></td>
    <td width="10%"><font size="2" face="Verdana">3000000</font></td>
    <td width="53%"><input type="text" name="T3" size="20"></td>
    <td width="53%"><input type="text" name="T4" size="20"></td>
    </tr>
    <tr>
    <td width="153%" colspan="6">
    <p align="center"><input type="submit" value="Submit" name="B1"></td>
    </tr>
    </table>
    </center>
    </div>
    </form>
    </body>
    </html>
    I hope this makes the scene clear still you may eat my head for more clarifications but please help me.
    Can mail me at [email protected]
    ThanQ

  • Combine multiple pdfs into one form

    I have several multi-page pdfs that I would like to combine into one dynamic form. I can import one at a time separately, then paste in each page, one at a time, but that's very time consuming. How can I take each imported file and add it, as a whole, to the master form?

    Then you can do it using a Server product called LiveCycle Assembler. The form will have to be 1st, then you can add as many PDFs as you want.

  • Multiple delete in one form with ADF

    Hi,
    Does anyone know how I can make a multiple delete? So as a sort of e-mail list where you can mark the items you want to delete with a checkbox. Then by clicking submit, all the marked rows will be deleted.
    thanks a lot

    Hi,
    You've got the basic idea for using multiples DELETEs.
    If you start that ar 11:52:14 on February 15, and each DELETE takes 2 or 3 seconds, then responseerrors might bet cut off at
    11:52:15 on January 15, eventresponses might get cut off at
    11:52:17, and events at
    11:52:19. If anything happened to be dated in responseerrors during those 4 seconds on January 15 (or in eventresponses during those 2 seconds), then those rows will be left pointing to rows in events that no longer exist.
    To avoid that, you might want to use TUNC (SYSDATE) instead of SYSDATE; that will make the cutoff time 00:00:00 on January 15 if you run the script at any time on February 15. Just be careful that you don't start it a few seconds before midnight.
    If you make foreign key constraints in the "child" tables (responseerrors and eventresponses), referencing events.eventresponseid ON DELETE CASCADE, then you could simply DELETE the rows from events, and the rows in the other tables would be automaticaaly deleted, too. For details, look up foreign key constraints in the SQL Language manual:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/clauses002.htm#sthref3021

  • Action multiple OM objects in one Form

    Hi Experts,
    The OM Processes & Forms include a number of standard forms in system such as:
    - Create Position
    - Change Position Attributes
    - Create Org Unit
    - change Org Unit
    These forms work on one base object and they process the form.
    We have 2 requirements:
    1) Manager should be able to Process the request for multiple objects in one form. For example, if I want to delete 10 Positions though one form. The standard form selects only one position and processes the form.
    I would like to know that can we develop a custom form which can select multiple objects (positions) and action them through one form only.
    2) The OM Forms include the maintainence infotypes like Account Assignments IT 1008, Employee Grp/subgrp IT 1013, Work schedule IT 1011.
    I would like to know if we need to add the field of new OM infotype for example Authorities and Resources IT 1010, Department and staff IT 1003, Planned Compensation 1005 in a form then
    - is it possible, if yes then what is the process
    - what will be the man days effort to add fields from one OM infotype.
    thanks
    Manu

    Hi Heather,
    in methode set_table_for_first_display you can use the parameter is_variant of type DISVARIANT. Use the field HANDLE in this structure to distinguish the two ALV Objects. Fill also field REPORT of the same structure with sy-repid.
    Regards Florian

  • How to run multiple sqls in one jasper report

    Hello!
    Is there any one that can help me in integrating/ viewing my xml file to the web. I have my GUI in jsp format, the jsp makes a call to the bean class and then finally bean class hit my reports java class.The report java class generates the report and shows it in the new window.
    The problem is with writing mutiple sql queries and showing the result from multiple sql queires in one report.
    I do not know how to write multiple queries for just 1 report. I can give a simple example of my problem also.
    My report is as follows:
    First Name Middle Name Last name
    Sandeep               Pathak
    Now First and Middle Name come from 1st sql query and Last Name comes from 2nd sql query.
    I want to join the result obtained from both the sql queries in one Jasper Report (not as 2 separate sections but as one section).
    My problem is how to view my report in the web. furthermore, how to make complex query in jasperassistant, like multiple table in one query, because i�m integrating multiple query in one form or sheets of paper.
    Please help me in this.
    Thanks
    Sandeep
    Calance
    India

    Hi Sheldon,
    we never have issues when we combine standard objects, like a cliear with a load inforprovider, or the master data integration you mentioned in your document. However, from the moment we combine a script logic with a standard package (like a move) it does not work .The data package contains the task needed for the script and for the move. the process chain is called up but always comes in error in the first step (BPC modify dynamically ) ... there is also no log when checking the view status ...
    I can sent you some screenshots if you like ...
    D

Maybe you are looking for