Linking several tables

Hi everybody
is it possible to link several tables over several pages, lets say a long bill, and keep the table calculating?
dual G4 1.25   Mac OS X (10.4.6)  

Hello bbeer,
no, you can't link tables together. But you can insert so many rows in one table that the table will split at a page border and continue on the next page. So you can have tables that fills several pages and the calculation works fine.

Similar Messages

  • How do you link several totals in various tables to create a summary total for all tables?

    I have several tables like an expense form, expenses, meals, and mileage.  How do I enter them in a Pages document and get the totals to update to a summary of all expenses in the same document?
    Charles Smith

    You open iWork Formulas and Functions User Guide.
    Yes, what a surprise, the user guides are also for you
    You will learn that there is no way to do what you ask in a Pages document.
    You are forced to work in a Numbers one.
    If I remember well, searching with an obscure keyword like reference brings us to a table describing the different syntax required to extract values from cells.
    Yvan KOENIG (VALLAURIS, France) dimanche 24 juillet 2011 16:21:15
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Displaying several tables with same structure

    There are several tables with the same structure (number of columns, column names, column types etc.) and corresponding ADF BC view objects.
    A user should interactively choose the table he or she wants to edit. The UI remains the same for any given table.
    I need advice on how to implement this optimally, considering ease of development and performance.
    Right now I'm planning to use a SelectOneListbox for choosing and hide and show some containers with tables and forms for editing.
    I feel it should be quite easy, but I am an ADF newbie and feel puzzled :)
    Thanks in advance for any help!

    Hi,
    I feel your approuch will work fine . Check if following link can help
    http://www.oracle.com/technology/products/adf/patterns/11/enabledisablepattern.pdf
    Vikram

  • How to link two tables?

    Hello,
    I'm trying to create invoices with Pages, but my question is how can I link two tables in one Pages document?
    Or having two Header Rows with some 'normal' rows between would also be great. (even better)
    I'm trying to calculate my subtotal etc. below my overview of articles.
    Thanks in advance!
    Andy

    (1) no way to link two tables in Pages.
    (2) you may have several header rows, several footer rows but you can't have standard rows between header (or footer) ones.
    You may achieve what you describe without the asked feature.
    Use correct ranges and you will be able to calculate subtotals.
    Yvan KOENIG (VALLAURIS, France) lundi 28 décembre 2009 19:02:38

  • Creating a combined timeline based on several timelines in several tables

    Hi,
    I need to extract a timeline for a customer based on valid_from and valid_to dates in several tables.
    For example: I have a table named customers with an id, a valid_from and a valid_to date and a table named contracts with an contrat_name, customer_id and valid_from and valid_to:
    CUSTOMERS:
    ID | VALID_FROM | VALID_TO
    1 | 01.03.2010 | 01.01.4000
    CONTRACTS:
    CONTRACT_NAME | CUSTOMER_ID | VALID_FROM | VALID_TO
    ContractA | 1 | 01.03.2010 | 01.10.2010
    ContractB | 1 | 01.10.2010 | 01.01.4000
    The following statement would now give me the correct timeline:
    select cus.id customer, con.contract_name contract, greatest(cus.valid_from,con.valid_from) valid_from, least(cus.valid_to,con.valid_to) valid_to
    from customers cus
    inner join contracts con on cus.id = con.customer_id;
    CUSTOMER | CONTRACT | VALID_FROM | VALID_TO
    1 | ContractA | 01.03.2010 | 01.10.2010
    1 | ContractB | 01.10.2010 | 01.01.4000
    That works, but I get a problem as soon as I have a point of time where there is no contract for a customer but I still would like to have these periods in my timeline:
    Let's assume the following data and the same select statement:
    CUSTOMERS:
    ID | VALID_FROM | VALID_TO
    1 | 01.03.2010 | 01.01.4000
    CONTRACTS:
    CONTRACT_NAME | CUSTOMER_ID | VALID_FROM | VALID_TO
    ContractA | 1 | 01.05.2010 | 01.10.2010
    ContractB | 1 | 01.12.2010 | 01.03.2011
    What I would now get would be:
    CUSTOMER | CONTRACT | VALID_FROM | VALID_TO
    1 | ContractA | 01.05.2010 | 01.10.2010
    1 | ContractB | 01.12.2010 | 01.03.2011
    But what I would like to get is the following:
    CUSTOMER | CONTRACT | VALID_FROM | VALID_TO
    1 | null | 01.03.2010 | 01.05.2010
    1 | ContractA | 01.05.2010 | 01.10.2010
    1 | null | 01.10.2010 | 01.12.2010
    1 | ContractB | 01.12.2010 | 01.03.2011
    1 | null | 01.03.2011 | 01.01.4000
    What I do not want to do is to generate a result with contract = null any time there is no contract since I actually want to join the timeline of several different tables into one and it would therefore become very complicated to assume things based on what data can or can not be found in one specific table.
    Thanks for any help or ideas,
    Regards,
    Thomas

    Hi, Thomas,
    Thomas Schenkeli wrote:
    ... Is this the way you meant? Because I actually didn't have to change anything about part (b) of the statement since non-matching results were excluded by the where-clause "OR     valid_from     < valid_to" in the final select anyway.You're absolutely right. Sorry about the mistakes in my last message. I'm glad you solved the problem anyway.
    Beware of SELECT DISTINCT . Adding DISTINCT causes the system to do extra work, often because the query was doing something wrong and generating too many rows, so you pay for it twice. In this case, the join conditions in (b) are different from (a) and (c), so b is generating too many rows. The DISTINCT in the main query corrects that mistake, but it would be more efficient just to avoid the mikstake in the first place, and use the same join conditions in all 3 branches of the UNION. (You could also factor out the join, doing it once in another sub-query, and then referencing that result set in each branch of the UNION.)
    You can get the same results a little more efficiently, with a little less code, this way:
    WITH     union_data     AS
         SELECT       MIN (ua.customer_id)     AS customer_id
         ,       NULL               AS contract_name
         ,       MIN (ua.valid_from)     AS valid_from
         ,       MIN (oa.valid_from)     AS valid_to
         ,       'A'                AS origin
         FROM       tmp_customers     ua
         JOIN       tmp_contracts     oa     ON     oa.customer_id     = ua.customer_id
                               AND     oa.valid_from     >= ua.valid_from
                             AND     oa.valid_to     <= ua.valid_to
         GROUP BY  ua.id
        UNION ALL
         SELECT       ub.customer_id
         ,       ob.contract_name
         ,       ob.valid_from
         ,       ob.valid_to
         ,       'B'                AS origin
         FROM       tmp_customers     ub
         JOIN       tmp_contracts     ob     ON     ob.customer_id     = ub.customer_id
                               AND     ob.valid_from     >= ub.valid_from
                             AND     ob.valid_to     <= ub.valid_to
        UNION ALL
         SELECT       uc.customer_id
         ,       NULL               AS contract_name
         ,       oc.valid_to          AS valid_from
         ,       LEAD ( oc.valid_from
                     , 1
                     , uc.valid_to
                     ) OVER ( PARTITION BY  uc.id
                        ORDER BY      oc.valid_from
                         )          AS valid_to
         ,       'C'                AS origin
         FROM       tmp_customers     uc
         JOIN       tmp_contracts     oc     ON     oc.customer_id     = uc.customer_id
                               AND     oc.valid_from     >= uc.valid_from
                             AND     oc.valid_to     <= uc.valid_to
    SELECT       *
    FROM       union_data
    WHERE       contract_name     IS NOT NULL
    OR       valid_from     < valid_to
    ORDER BY  customer_id
    ,       valid_from
    You may have noticed that this site normally doesn't display multiple spaces in a row.
    Whenever you post formatted text on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Linking Access tables, creating a query with using both Access and Oracle

    Hello,
    I am using 3.0.04.34 version Oracle Developer. I am supposed to create a script/procedure to use both Access tables and oracle tables together. There is an option in developer to copy the access tables into oracle. But it doesn't help me. Because when we updated the access tables
    the copied ones are not be updated. How can I created a linked access tables to oracle and create a query with using both access and oracle table together.
    I will appreciate if you guys help me. I look forward to hearing from you guys.
    Thanks,
    Pinar

    Pinar,
    to be able to query MS Access tables in Oracle you need an additional product, the Oracle Database Gateway for ODBC. It allows you to link any foreign database into an Oracle database using a suitable ODBC driver. You can then access the MS Access tables through a database link based on the Database Gateway for ODBC. This will also allow you to join local Oracle and remote MS Access tables from your Oracle database.
    There's a note on My Oracle Support which gives you more details:Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    And there's also a dedicated Forum: Heterogeneous Connectivity

  • Linking SD tables in SAPquery

    Hi Everyone,
    I'm in the middle of creating a SAPQuery for my users to use. However, i am having trouble in linking a particular table, as i get the following error message:
    "Table KONV cannot be used in a join"
    What i am trying to do is to link SD tables VAPMA, VBRP, VBRK, KNA1 with KONP. The problem now is that i am unable to link KONP with the earlier mentioned tables, so i need to include another new table KONV to provide a link between them.
    From what i can find out in SE11, KONV is a cluster table, so does it mean there is no way to link them?
    Is there any other way to link those 4 earlier tables i mentioned with KONP?
    Thanks in advance

    Hi Bernard,
    Please check this link perhaps it may help to link above tables.
    http://www.sapgenie.com/abap/tables_sd.htm
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Link between table SOFFPHF and FI document

    Hello Experts,
    I have a requirement to find all the FI documents with the attachement .
    We have a table SOFFPHF (SOFF: Files of Physical Information Objects) where i can get the details of attachement, But now how to link this table with the FI document which has this attachement.
    I tried the link using table SRGBTBREL , But i am not getting entries from table SOFFPHF in this table.
    Thanks.
    Regards,
    Ganesh.

    Hi Shivkumar,
    When you enter the item category as 'D'then a purchase order is
    classified as a service purchase order.
    When you use ML81N to perform a service entry, then automatically
    the GR document is generated.The basis for this is a service can
    only be performed and cannot be stored.
    The PO history table will give you a good idea of the relation.
    You can check the EKBE table.Enter the service entry sheet number
    in the field LFBNR of EKBE table, enter the SES number, you will
    see all the documents associated with it.

  • In ER DIagram using toad( how can i link two tables)

    Hi,
    Any Toad expert can guide me that how can i link two tables in Toad in ER Diagram to show the relationship between two tables.
    Thanks

    Hi,
    I hope there is foreign key relationship in tables, if so then you can click on "Find table dependencies" icon which will draw lines between them.
    ~Vinod

  • Query Builder - How to create a link between tables with many fields?

    I have many fields in my tables. When the query builder loads the tables, the tables are expanded to accomodate all the fields. Suppose I want to link Table A's Customer ID (the first field in Table A) wiith Table B's Customer ID (the last field in Table B). How can I do that if the last field in Table B are not visible in the screen?
    Currently, I create a link in Table A's customer with a random field in Table B. Then I edit the link to create a proper condition. Is there a more efficient way to do this?
    Thanks.
    Edited by: woro2006 on Apr 19, 2011 9:40 AM

    Hi woro2006 -
    Easiest way is to grab Table A's title bar & drag Table A down the page until the columns you want to link are visible.
    FYI, there is an outstanding bug
    Bug 10215339: 30EA1: MISSING THE 2.1 RIGHT CLICK OPTIONS ON DATA FIELDS TO CREATE A LINK
    to add a context menu on the field for this. That is, Link {context field} to > {other data sources} > {fields from that source}
    It is being considered for 3.1, but I have no idea where it will end up in the priority queue.
    Brian Jeffries
    SQL Developer Team
    P.S.: Arghh, Unfortunately, I just tried it and the diagram does not auto scroll while you drag, so there is some guess work/repositioning the view involved.
    Logged Bug 12380154 - QUERY BUILDER DIAGRAM DOES NOT AUTO SCROLL WHEN DRAGGING TABLE

  • How to return in pl/sql the tuples of an sql query comming  several tables

    I have a select query whose result comes from several tables. The question is how to return the tuples of the select query using a pl/sql function. In othe words, is it possible to define a construct structure to store the values of sql query and return that construct. if yes how to define such a construct where its elements comming from several tables.
    I appreciate very much ur help

    The way to return a resultset from a function is with a cursor variable. The lazy of doing this is using a weakly-typed ref cursor (in 9i use the predefined SYS_REFCURSOR).
    Cheers, APC

  • Strange behaviour of view based on several tables join with union all

    Dear fellows we r facing a strange problem we have a view based on several tables joined by union all ,when we issue an ordered query on date,rows returned are unusually different than they should be .
    Is oracle has some special behaviour for view based on union all ?
    I m using oracle 8.1.6 on windows 2000
    Kashif Sohail

    Did you ever solve this problem? I have two select statements based on 4 tables and 3 views using about 5 more tables. When I execute each select individually I get exactly what is expected. When I UNION ALL both selects together, I get "no rows returned", however when I UNION them I get exactly what is expected. I should get the same answer for both UNION ALL and UNION. The two select statements are identical, except for one column where I changed the constant to be different. Any thoughts?

  • Linking same table together syntax problem

    Hi All
    I've never had to link a table to itself before, but as I try and do it now I keep getting "missing keyword" error message at the point I try and assign a different name to the second instance of my table. Can anyone point out my mistake please?
    Here is the SQL:
    SELECT FSA_CO, FSA_NO, FSA_ADESC, FSA_MFNO, FSA_SREF, ERE_RET.ERE_BELONGS_TO, ERE_RET_1.ERE_DESC
    FROM (FSA_ACC LEFT JOIN ERE_RET ON FSA_ACC.FSA_HIRE_GRP = ERE_RET.ERE_ID) LEFT JOIN ERE_RET AS ERE_RET_1
    ON ERE_RET.ERE_BELONGS_TO = ERE_RET_1.ERE_ID WHERE (((FSA_ACC.FSA_CO)='01') AND ((FSA_ACC.FSA_NO)='P008'))
    Many thanks in advance
    Chris

    Well, the regular Oracle syntax would be
    SELECT fsa_co,
           fsa_no,
           fsa_adesc,
           fsa_mfno,
           fsa_sref,
           a.ere_belongs_to,
           a1.ere_desc
      FROM fsa_acc, ere_ret a, ere_ret a1
    WHERE fsa_acc.fsa_hire_grp = a.ere_id
       AND a.ere_belongs_to = a1.ere_id
       AND fsa_acc.fsa_co = '01'
       AND fsa_acc.fsa_no = 'P008'I think the AS is what it's complaining about - it didn't care for it in regular syntax.

  • Link between tables mseg and afvv

    Dear Sap Gurus,
    I need a report in which i can get production order wise production and cunsumption for all production order
    operations in a single report.
    i just want to know how to link mseg table in which i am having batch wise production and consumption with afvv table
    or any else in which  i can get operation nos of production order.
    Thanks and regards
    Shankar

    Hi,
    AFVV - AUFM by AUFPL as told above is best way, otherwise to join MSEG, you can use field AUFNR in tables MSEG & AUFM and further AUFPL to join AUFM & AFVV.
    Regards
    Trin

  • Query for Linking Two Tables without Reference

    Hi Folks,
    Good Day!
    I have this dilemma on how to link two tables without a reference. In the Business Partner Master Data, there is a field for the Territory which is from the table OTER. This OTER focuses on its description. Once you have added the particular Territory for that Business Partner, it is being stored in the Territory field of the BP right? Our client wants to have an automated way of searching for the Business Partner's Profit Center in creating a Sales Order wherein it is the same as the Business Partner's Territory. The Profit Center is from the table OPRC.
    When I create a Sales Order, after I have entered the Business Partner/Customer Code, the Profit Center should have the value of the Profit Center Code wherein it is the Business Partner's Territory. My query will go like this:
    Enter the BP/Customer Code automatically the Profit Center code where Profit Name = BP's Territory.
    OTER and OCRD don't have connections. How can it be?
    I'm thinking of retrieving the Territory first before the Profit Center but can you suggest of any other way?
    Thank you much!
    Regards,
    Fringe

    Hi Fringe,
    Okay, I already understood your case here. I presume your configuration as follows:
    OTER (Territory)
    territryID - descript
    1 - Philippine
    2 - Indonesia
    3 - Germany
    OPRC (Cost Centre)
    PrcCode - PrcName
    25 - Philippine
    33 - Indonesia
    47 - Germany
    Was above illustration correct? Then, you could use this formatted search in Cost Centre / Dimension field in Sales Order rows
    SELECT PrcCode FROM OPRC WHERE PrcName=(
    SELECT TOP 1 descript FROM OTER T0
    INNER JOIN OCRD T1 ON T0.territryID=T1.Territory
    WHERE T1.CardCode=$[OCRD.CardCode.0])
    However, I suggest you use a little bit different approach here. Since you can't define Territory Code / Territory ID (you could only type the Territory name, Philippine etc.), why don't you standardize Territory name with Cost Centre code? Let say, you define Philippine as PHI, Indonesia as INA, Germany as DEU and so on. Therefore, user can read the Cost Centre or more precisely Distribution Rules in Sales Order form in more familiar way.
    OTER (Territory)
    territryID - descript
    1 - PHI
    2 - INA
    3 - DEU
    OPRC (Cost Centre)
    PrcCode - PrcName
    PHI - Philippine
    INA - Indonesia
    DEU - Germany
    When FMS worked in Sales Order document, your user will read PHI instead of 25, should be more familiar to them. With that being said, you could use simpler FMS
    SELECT descript FROM OTER T0
    INNER JOIN OCRD T1 ON T0.territryID=T1.Territory
    WHERE T1.CardCode=$[OCRD.CardCode.0]
    You only need to maintain consistency between Territory Name and Cost Centre code. Just my two cents. Hope this help.
    Best Regards,
    Hendry Wijaya

Maybe you are looking for