Two or more table based forms on a single page

Hi,
Is it possible to have two or more forms fetching their respective tables on the same page ? I mean , to have two Automated fetching processes . I tried to change each page item source from ('DB Column' ... column_name) into ('DB Column' ... "TABLE".column_name) but is not working.
Any idea ?
Thanks.

Actually I am trying to give you a solution but not 100% sure what you exactly you want?
According to your subject, i understood that you have a page based on two more tables so if it is then
create a view on these tables and create a page on view and then create a trigger (Instead of triggers)
for insert /update into the columns related tables.
hope it work!
Regards

Similar Messages

  • How two or more table used in smartforms

    Sir,
    Like to know how can i perform calculation in smartfrom if the fields is numeric and use two table, and also know about it is useful to use inner join or any other method in smartform for working with two or more tables simultaneously.
    plz, expalin with example

    hi
    you can use more than one table in smartform for that first you mention all the tables in the form interfaces and you have to mention the variables that you want to caliculate in the global definitions.
    For caliculation right click on ant text and in that we have flow logic option in that we can select which type of code you want to write and you have to create those inbetween two text fields where the values are there and the other one is where you want to display the result.
    in that code in input parameters we have to mention the variables which you want to use for caliculation and in output parameters mention the variables in which you want to store the result. And then we have to write the logic what ever we want.
    I hope this information will help you
    regards,
    Sreelatha Gullapalli

  • How can I use TopLink for querys that have two and more tables?

    I use TopLink today, and I can use one table to query, but how can I use TopLink for querys that have two and more tables?
    Thank you for see and answer this question.

    You can write a custom SQL query and map it to an object as needed. You can also use the Toplink query language "anyOf" or "get" commands to map two tables as long as you map them as one to one (get command) or one to many (anyOf command) in the toplink mapping workbench.
    Zev.
    check out oracle.toplink.expressions.Expression in the 10.1.3 API

  • WHERE clause creating a join for two or more tables

    The CS3 Dreamweaver book says that the WHERE clause can
    create a join for two or more tables. The join was created, but the
    data is repeating. I have searched the web and this forum and have
    not found the answer.
    My Master page filters the recordset by Style No and when a
    customer clicks on a particular style, it sends him to the Detail
    page. All the records are showing from all tables on the detail
    page from the Dynamic List, except they are showing multiple times
    (ex. Size table has 4 sizes and Color table has 2 colors - my Size
    Drop Down list is showing 8 options and my Color Drop Down List is
    showing 8 options) I have a Master Page with a recordset pointing
    to a Detail Page using the same recordset.
    Master page works perfectly.
    Master Recordset SQL:
    SELECT products.itemID, products.category, products.styleno,
    products.name, products.description, products.ourprice,
    products.imageTH, products.image, coloroption.color,
    sizeoption.size
    FROM products, coloroption, sizeoption
    WHERE category = 'chefcoats' AND
    products.styleno=sizeoption.styleno AND
    products.styleno=coloroption.styleno
    GROUP BY products.styleno
    ORDER BY styleno ASC
    The Detail Recordset:
    SELECT products.itemID, products.category, products.styleno,
    products.name, products.description, products.ourprice,
    products.imageTH, products.image, sizeoption.size,
    coloroption.color
    FROM products, sizeoption, coloroption
    WHERE itemID=colname AND products.styleno=sizeoption.styleno
    AND products.styleno=coloroption.styleno
    I tried using the GROUP BY on the detail page, but then it
    only showed one size and color from the dynamic drop down list. I
    tried changing the field name "styleno" in the other tables to be
    unique, however, I was using the table identifer. I tried using the
    JOIN command instead of the WHERE clause and that didn't help
    either.
    On the detail page, the customer is supposed to click on the
    Size box and see sizes XSM - 6XL ONLY ONE TIME. and then be able to
    click on the Color option and see White, Black, Red ONE TIME.
    Is this possible?
    Thank you for giving your time to read this.!
    Evie

    Do you have a link we can look at to see what you are trying
    to do?
    Dave
    "EviePhillips" <[email protected]> wrote in
    message
    news:[email protected]...
    > The CS3 Dreamweaver book says that the WHERE clause can
    create a join for
    two
    > or more tables. The join was created, but the data is
    repeating. I have
    > searched the web and this forum and have not found the
    answer.
    >
    > My Master page filters the recordset by Style No and
    when a customer
    clicks on
    > a particular style, it sends him to the Detail page. All
    the records are
    > showing from all tables on the detail page from the
    Dynamic List, except
    they
    > are showing multiple times (ex. Size table has 4 sizes
    and Color table has
    2
    > colors - my Size Drop Down list is showing 8 options and
    my Color Drop
    Down
    > List is showing 8 options) I have a Master Page with a
    recordset pointing
    to a
    > Detail Page using the same recordset.
    >
    > Master page works perfectly.
    > Master Recordset SQL:
    > SELECT products.itemID, products.category,
    products.styleno,
    products.name,
    > products.description, products.ourprice,
    products.imageTH, products.image,
    > coloroption.color, sizeoption.size
    > FROM products, coloroption, sizeoption
    > WHERE category = 'chefcoats' AND
    products.styleno=sizeoption.styleno AND
    > products.styleno=coloroption.styleno
    > GROUP BY products.styleno
    > ORDER BY styleno ASC
    >
    > The Detail Recordset:
    > SELECT products.itemID, products.category,
    products.styleno,
    products.name,
    > products.description, products.ourprice,
    products.imageTH, products.image,
    > sizeoption.size, coloroption.color
    > FROM products, sizeoption, coloroption
    > WHERE itemID=colname AND
    products.styleno=sizeoption.styleno AND
    > products.styleno=coloroption.styleno
    >
    > I tried using the GROUP BY on the detail page, but then
    it only showed
    one
    > size and color from the dynamic drop down list. I tried
    changing the
    field
    > name "styleno" in the other tables to be unique,
    however, I was using the
    table
    > identifer. I tried using the JOIN command instead of the
    WHERE clause and
    that
    > didn't help either.
    >
    > On the detail page, the customer is supposed to click on
    the Size box and
    see
    > sizes XSM - 6XL ONLY ONE TIME. and then be able to click
    on the Color
    option
    > and see White, Black, Red ONE TIME.
    >
    > Is this possible?
    >
    > Thank you for giving your time to read this.!
    > Evie
    >
    >

  • Working with two or more tables in Numbers

    Working with two or more tables in Numbers
    It is possible to write numbers or names in Table 1 B-2, B-3, B-4, B-5, B-6 etc. and automatically copy in Table 2 only B-2, B-4, B-9, B23 etc.
    What do I need to do???
    Thanks for the help

    The table on the left is named "Source" and on the right "Destination":
    In the table "Destination" on the right:
    B2=Source :: B2
    select B2 and fill down

  • Polling Two or More Tables using DB Adapter

    Hi,
         Is it possible to poll two or more tables using a db adapter at a time?

    Hi,
         Is it possible to poll two or more tables using a db adapter at a time?

  • WebDB 2.2 on Linux - How do I reference Field Values in a Table Based Form?

    Hi all
    I'm trying to set up links from a table based form to another table based form; I created a new Item, with link pointing at the second form, but have no idea how to pass it the query parameter. The idea is having a "Clients" form, next to each client row there's a clickable label that pulls up the "Invoices" form, so you can see Client's Invoices. How do I pass the ClientID to the second one?
    Thanks in advance
    Paulo

    SELECT CASE @col WHEN 'ColumnA' THEN ColumnA
                     WHEN 'ColumnB' THEN ColumnB
           END
    FROM   tbl
    Yes, that is painful to write, but your requirement is very odd in the context of a relational database, where every column in a table is supposed to model a unique attribute.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to turn a table-based form into a master/detail ?

    Hello, I have a form based on a table on which I have spent quite a bit of time adjusting presentation and adding dynamic actions.
    Now comes the requirement to handle an open number of related records, ideally on the same page.
    Has someone documented the steps needed to turn a record-based form into a master/detail one ?
    I am using APEX 4..2.1

    If you think your are missing something you could create the master detail pages for comparison. And delete these dummy pages when your done.
    I finally got around to working on this. You got me on the right track Nicolette, so thank you for that.
    I also had to fix bits in making processes conditional, and branching, too.
    Mainly this has to do with the "delete checked" button which deletes detail records, and submits the page to itself.
    One also needs to rename the REQUEST used in that case from MUTLI_ROW_DELETE to APPLY_CHANGES_MRD
    (as this pattern will trigger an UPDATE for the master record)
    All in all doable but one needs to be careful and generating a quick example M/D page for reference is useful.
    In my case I reckon this was still faster than re-doing all the layout adjustments and DA's
    (plus I got to better understand how this all works - there are a couple moving parts, all interdependent)

  • How does one simultaneously view two or more tables?

    When viewing a table, a tab is created. How does one create a second tab with which to view a second table?
    A related question - how does one enter and run two or more SQL statements to be viewed side-by-side (as in the above example with straight tables)?

    1) For table click the thumb tack an pin it. Then the next one will open in a new window.
    2) When you have 2 worksheets open drag the title bar to be on the left/right/top/bottom of that section. Then you'll have side-by-side worksheets.
    -kris

  • Two SAPScript forms on a single page

    Hello
    Is there a way (in SAPScript) to have two forms (sapscript forms defined in SE71) printed in a single page ?
    What I would like to achieve is to have several sapscript forms defined in the system and to be able to combine them in a single page dynamicallly - I mean: the printing program would decide which of them should be output.
    I have one sapscript form which I want to output always - it contains some header and main window with some items. Apart from this form I need to print some additional information on the same page.
    This additional information may be formated in a few different ways - depending on the case. I need to include this info at the top of the page - formatted in one of possible ways mentioned. The rest of the page is always the same (some header and main window with items).
    I know I could just use windows definitions in a single sapsript form and let the printing program decide which of those windows to print. But my problem is: I would like to have different sizes of the information printed at the top of the pages - when I define a window I must declare height which will be occupied on the page - I'd like to have different height values for different cases.
    Is there a way to achieve that ?
    thanks in advance
    regards

    Hi,
    It is not possible.
    But instead of creating sapscript, why dont you create different standard text and call in same sap-script based on condition.
    You can create standard text in tcode so10. Its similar to editor in sap-script.
    Reward if useful

  • Struts : Validating two forms in a single page , on a single submit

    In my JSP page, i have two forms, with modifiable feilds. I'm using submit button of the 2nd form to submit both forms (ie. <form action="someAction2.do" onsubmit="return firstForm.submit();"> )
    Two forms have different actions which is specified in structs-config.xml. Validation(server-side) is done using validation.xml file.On success/failure, both these actions are mapped to the same (input) JSP page.
    Problem is that, validation errors in second form only is displayed. This is because, as soon as 1st form returns validation errors, the second form gets submitted. How can i specify that 2nd form should be submitted only if the 1st form doesnot return any validation errors. I know its possible using javascript at client side, but i want this validation on server-side.
    Can any one please help me out. Thanks

    Off hand I dont know the answer to your question. But since no one answered your question, here are my 2 cents worth:
    I suggest all your JSP pages have one and only one form tag. Re write your JSP page. Make sure all your variables your submitting have unique names. (no duplicate names). As far as I know, having multiple forms on a JSP page is not normallly done and makes it difficult to alter by another programmer after you leave the company.

  • Muliple forms on a single page???

    Hello guys,
    I have 3 tables, all of these tables have one column(p_id) in common to maintain one-one relationship btw 1st n 2nd table and in the same way 1st and the 3rd table.
    Using the 1st table I am creating a form on the 1st page, and I have created trigger with sequence for auto increment of the primary key value.
    Now after clicking "Enroll " button(which does two things first is it increments the p_id(pk key) value and second is navigating to next page, and into the enter application I'm playing with this newly creating p_id value)
    So this is what I have achieved so far, now I am creating two forms on next coming 6th page(both the forms on same page) and both the forms are design using two different tables(i mean to say 2nd and 3rd table, which I describe above) and both these table have one-to-one relationship with the 1st tables(1st page form).
    Now I am aware about the limitation for of the automatic "row fetch" and "row processing" processes: they were designed to work with one table, hence as per the below link:-
    Report & form on Multiple table
    I created "view" and "instead of" trigger for add/update/delete, but some how I am unable to do so.
    So if somebody can help me out with the critical issue, I would be appreciated to him very much...
    If anybody want I can create example on apex.oracle.com workspace and can give credentials.
    regards,
    Kumar

    I'm afraid I have to agree with Dan, I have lost track of the goal here. If you will permit the use of an idiom, you seem to be swimming against the current. My experience with Apex indicates that this almost always means you are doing something wrong (again, spoken from hard experience).
    Please give this a try, invest an hour or so in experimentation and I don't think you will be sorry:
    1. Take a piece of paper and lay out your complete page flow from beginning to end. Try to keep each step small and simple. Take 5 minutes, tops.
    2. Use the Wizard page template to set up a basic set of pages, one for each page in your flow.
    3. On each page, set up the fields you need to capture; just start with a few and don't worry about the layout or look and feel.
    4. If you want to capture what a user has entered on a step, regardless of how far they made it through the process (say you want to find out where people are "giving up" on a work flow), create a pl/sql process on each page to log that page's data into a table and only execute the process when the Next button is pressed (you will have to deal with the case where someone is updating something that has already been saved one or more times).
    5. On the last page, create a pl/sql process to "finalize" the flow and associate that with the Finish button. You can also clear the cache for all of the pages in the flow if the user clicks the Cancel button or after your "finalize" procedure is complete.
    Unless you really need to capture where someone is dropping out of a flow, I don't see why you want to store each page's data in a table. You are just giving yourself something to (a) keep up with and (b) clean up later.
    -Tom
    PS - I worked through a quick example and saw that misspoke in my previous post: the values for fields entered on earlier pages in a wizard are cached, not stored as hidden fields on the current page.

  • Can I have more than one section on a single page?

    I opened an old AppleWorks file which has 7 thin columns in two sections, all on a single page. Pages turned it into a two page document. Is there a way to merge the two pages into a single page with two sections?
    Thanks in advance!

    I am facing the same problem. Word had an easy way to have two sections on one page. I can't see that it is a problem. However, my problem was I wanted two sections on the same page. It appears that Pages handles this differently. It is called a layout break. Same drop down menu. I wanted to change from one to two columns and back on the same page. Hope this helps in your situation.
    Parrish

  • How to nest  two or more tables in layout of an  adobe form?

    hi gurus,
    i have the requirement to loop one line item table inside that item conditions table and
    item shedule table...
    ie say the item no ,description,quantity,uom,price will be printed for each line item and then   
    all the item conditions will be printed for that item and then the delivery schedule table then again all the three tables for the next line item and so on...
    So i have to loop the item condition table and the schedule line table inside the  main item table...
    in the context part i have done this thing..how to implement this thing in the layout part..
    Plis help...

    HI Poojith M V ,
    can you help me?
    i have 2 tables for a packing list.
    they are nested in the context and the inner table with the positions has an where clause.
    in the layout, i have defined a table with two headerlines one dataline and one datasection.
    in the dataline i want to display some fields out of the outer table.
    in the datasection, i defined a table with two datalines, in which i want to display fields of the inner table.
    i did the bindings in every table, line and field as learned in BC480.
    now i have the following problem.
    if i set the trace level to 4 and watch the .XDP file, everything is right.
    it looks like this:
    PAL 1
          --POS 20
               ---TEXT
    PACK 2
          --POS 10
               --TEXT
          --POS 50
               ---TEXT
    PACK 3
          --POS 30
               ---TEXT
          --POS 40
               ---TEXT
    but the form output looks like this:
    PAL 1
          --POS 20
               ---TEXT
          --POS 10
               ---TEXT
          --POS 30
               ---TEXT
    PACK 2
    PACK 3
    1. I don´t understand why all entries of the inner table where displayed under the first item of the outer table  -  i set to the first tabel and to the second, loop at all entries.
    2. i don´t understand where the items 50 and 40 are.
    has anybody a suggestion?
    thanks in advance
    mcdelta0six
    Message was edited by:
            McDelta0six

  • Dataset from two set of tables based on condition

    I have two queries that will return same columns from two different set of tables ( column mapping has been taken care of). The return type is out ref cursor. (P_SUPPLY_REORDER )
    Query 1-SO
    select
    so.SMO_NO,
    so.SPLY_ORD_DT,
    so.fk_CUST_ID as CUST_ID,
    so.CUST_PO_NO,
    so.ATTENTION_NAME,
    sum(sol.SPLY_ORD_QTY) as SPLY_ORD_QTY,
    --sum(sol.sply_shp_qty),
    so.ST_NAME,
    so.ADDR_LN_2,
    so.ADDR_LN_3,--sta.SHIP_TO_ADDRESS_LINE_3,
    so.CITY_NAME,
    so.ST_TERR_CD,
    so.ZIP_CD,
    so.SPCL_SHP_INSTR_TXT,
    so.SHP_CNFRM_DT
    ,XCOM_ORDER_NO
    from
    supply_order so,
    supply_order_line sol,
    XCOM_ORDER_HEADER
    where
    so.FK_CUST_ID =in_cust_id
    and so.pc_ord_no = sol.fk_pc_ord_no and
    XCOM_ORDER_HEADER.FK_PC_ORD_NO = so.PC_ORD_NO
    group by so.SMO_NO, so.SPLY_ORD_DT, so.fk_CUST_ID,
    so.CUST_PO_NO, so.ATTENTION_NAME,
    so.ST_NAME, so.ADDR_LN_2, so.ADDR_LN_3, so.CITY_NAME, so.ST_TERR_CD,
    so.ZIP_CD, so.SPCL_SHP_INSTR_TXT, so.SHP_CNFRM_DT, XCOM_ORDER_NO;
    Query-2 Xcom
    select
    null as sMO_NO,
    xso.created_date as SPLY_ORD_DT,
    xso.fk_cust_id as cust_id,
    cust.cust_po_no as cust_PO_NO
    ,(sta.SHIP_TO_ATTN_FIRST_NAME||''||sta.SHIP_TO_ATTN_LAST_NAME) as attention_name,
    xsol.CARTONS_ORDERED as SPLY_ORD_QTY,
    --sum(sol.sply_shp_qty),
    sta.SHIP_TO_ADDRESS_LINE_1 as ST_NAME,
    sta.SHIP_TO_ADDRESS_LINE_2 as ADDR_LN_2,
    --sta.SHIP_TO_ADDRESS_LINE_3,
    NULL as ADDR_LN_3,
    sta.ship_to_city as CITY_NAME,
    sta.SHIP_TO_STATE as ST_TERR_CD,
    sta.SHIP_TO_POSTAL_CODE as ZIP_CD,
    sta.SHIPPING_INSTRUCTIONS as SPCL_SHP_INSTR_TXT,
    null  as SHP_CNFRM_DT,
    xso.XCOM_ORDER_NO as XCOM_ORDER_NO
    from
    XCOM_ORDER_HEADER xso,
    XCOM_ORDER_LINES xsol,
    customer cust,
    ship_to_address sta
    where
    cust.cust_id = xso.fk_cust_id and
    sta.fk_cust_id = xso.fk_cust_id
    and xso.FK_CUST_ID =in_cust_id
    and xso.FK_PC_ORD_NO is null
    and xso.xcom_order_no = xsol.fk_xcom_order_no;Now the requirement is
    One of four conditions are possible for each Supply Reorder Number:
    •     Both table queries return no records
    -     Populate all the P_SUPPLY_REORDER output fields with nulls
    •     SUPPLY_ORDER returns a record, but XCOM_ORDER_HEADER returns no records
    -     Populate output fields with values from the join of SUPPLY_ORDER and SUPPLY_ORDER_LINE.
    •     SUPPLY_ORDER returns no records, but XCOM_ORDER_HEADER returns one record
    -     Populate output fields with values from the join of XCOM_ORDER_HEADER and XCOM_ORDER_LINES.
    •     SUPPLY_ORDER returns a record, and XCOM_ORDER_HEADER returns a record; find out the latest order by comapring max(SPLY_ORD_DT)
    from SUPPLY_ORDER with max(CREATED_DATE) from XCOM_ORDER_HEADER.
    -     If the latest order is in SUPPLY_ORDER, then populate output fields with values from the join of SUPPLY_ORDER and SUPPLY_ORDER_LINE.
    -     If order dates are equal from both join results, then populate output fields with values from the join of SUPPLY_ORDER and SUPPLY_ORDER_LINE.
    -     If the latest order is in XCOM_ORDER_HEADER, then populate output fields with values from the join of XCOM_ORDER_HEADER and XCOM_ORDER_LINES.
    Question is how can we switch over the queries to pull respective dataset based on these conditions ( checking that which table join is going to return a row and then based upon latest order if both tables return a row) and all this logic as part of single SQL statement that is returned as OUT Ref Cursor.
    Your help will be really appreciated. Thanks much in advance.

    It would be easier if you would supply a dataset we can work with. And I assume the queries are called within a other cursor which returns in_cust_id right?
    The best/fasters way would be to say goodbye to nested cursors.
    You need:
    the in_cust_id_query
    extend SUPPLY_ORDER with a new field
    max(CREATED_DATE) over (partiontion by cust_id) max_created_dateextend XCOM_ORDER_HEADER with a new field
    max(SPLY_ORD_DT)over (partiontion by cust_id) max_sply_ord_dateThen you make a 3 level SELECT
    the innerst () join all 3 sources
    the second level names the rule
    the outermost level applies the rule to each field:
    SELECT
    -- case statement to each field:
    CASE rule
    WHEN 1 THEN null
    WHEN 2 THEN s_smo_no
    WHEN 3 .... END  SMO_NO,
    SELECT
    -- check all rules:
    case
    --• Both table queries return no records
    when s_in_cust_id IS NULL and h_in_cust_id IS NULL then 1
    --• SUPPLY_ORDER returns a record, but XCOM_ORDER_HEADER returns no records
    when s_in_cust_id IS NOT NULL and h_in_cust_id IS NULL then 2
    --• SUPPLY_ORDER returns no records, but XCOM_ORDER_HEADER returns one record
    when s_in_cust_id IS NULL and h_in_cust_id IS NOT NULL then 3
    ELSE 4 end rule_id,
    i.*
    (SELECT c.in_cust_id,
                 s.*, (with alias of course eg. s_...)
                h.*, (with alias of course  e.g. h_...)
    from  in_cust_id_query c
      LEFT JOIN SUPPLY_ORDER s
       on (c.in_cust_id = s.in_cust_id)
    LEFT XCOM_ORDER_HEADER h
      on (c.in_cust_id = h.in_cust_id) i;I hope you get it.
    Of course you can do what you probable currently do. Open both cursors one by one and compare the results. But when you have 10000 in_cust_ids you start 20000 queries and you have a lot of code.
    This method I'm showing need these roles coded as well, but you'll have ONE single query and that will be as fast as ORACLE can be. And I believe it's easier to read too. (But not simple!)
    If you need more help, try to supply an example we can work on.
    -- andy

Maybe you are looking for