Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Summary Report

Discussion in 'Information Technology' started by Francophone, Jul 28, 2006.

Tags:
  1. Francophone

    Francophone
    Expand Collapse
    Guest

    Is it possible to have a report that draws from multiple queries or tables?
    For example, I have one query which counts shipments, one query which counts
    units returned, and one query which counts damaged goods. I'd like a report
    which shows the results of all three queries which are totally unrelated.

    Thanks,
     
  2. Loading...

    Similar Threads Forum Date
    Sukhmani Sahib Astpadi 2: Essence and Summary Sukhmani Sahib Dec 24, 2011
    Sukhmani Sahib Astpadi 1: Essence and Summary Sukhmani Sahib Dec 15, 2011
    Building a Better World (Book Summary) Business, Lifestyle & Leisure May 28, 2010
    Sikh News Injuries in attack on Sikh centre in Hamburg - Summary (EARTHtimes.org) Breaking News Nov 5, 2007
    Summary: EBay Income May Be Tax Revenue (AP) Interfaith Dialogues Mar 28, 2005

  3. schasteen

    schasteen
    Expand Collapse
    Guest

    You will ned to use subreports and not define any parent child relationships
    to be able to have all of these on one report if there is no relationship.

    "Francophone" wrote:

    > Is it possible to have a report that draws from multiple queries or tables?
    > For example, I have one query which counts shipments, one query which counts
    > units returned, and one query which counts damaged goods. I'd like a report
    > which shows the results of all three queries which are totally unrelated.
    >
    > Thanks,
     
  4. Pieter Wijnen

    Pieter Wijnen
    Expand Collapse
    Guest

    SELECT 'Shipment' AS Code, Count(*) AS CNT FROM SHIPMENTS
    UNION ALL
    SELECT 'Returned' ,COUNT(*) FROM UnitsReturned
    UNION ALL
    SELECT 'Damaged', Count(*) FROM DAMAGED

    Would do it

    Pieter

    "schasteen" <schasteen@discussions.microsoft.com> wrote in message
    news:E23B15A1-5B83-4A67-93DA-E324BB88792F@microsoft.com...
    > You will ned to use subreports and not define any parent child
    > relationships
    > to be able to have all of these on one report if there is no relationship.
    >
    > "Francophone" wrote:
    >
    >> Is it possible to have a report that draws from multiple queries or
    >> tables?
    >> For example, I have one query which counts shipments, one query which
    >> counts
    >> units returned, and one query which counts damaged goods. I'd like a
    >> report
    >> which shows the results of all three queries which are totally unrelated.
    >>
    >> Thanks,
     
  5. Pieter Wijnen

    Pieter Wijnen
    Expand Collapse
    Guest

    SELECT 'Shipment' AS Code, Count(*) AS CNT FROM SHIPMENTS
    UNION ALL
    SELECT 'Returned' ,COUNT(*) FROM UnitsReturned
    UNION ALL
    SELECT 'Damaged', Count(*) FROM DAMAGED

    Would do it

    Pieter

    "schasteen" <schasteen@discussions.microsoft.com> wrote in message
    news:E23B15A1-5B83-4A67-93DA-E324BB88792F@microsoft.com...
    > You will ned to use subreports and not define any parent child
    > relationships
    > to be able to have all of these on one report if there is no relationship.
    >
    > "Francophone" wrote:
    >
    >> Is it possible to have a report that draws from multiple queries or
    >> tables?
    >> For example, I have one query which counts shipments, one query which
    >> counts
    >> units returned, and one query which counts damaged goods. I'd like a
    >> report
    >> which shows the results of all three queries which are totally unrelated.
    >>
    >> Thanks,




    --
    ----------------------------------------
    I am using the free version of SPAMfighter for private users.
    It has removed 4231 spam emails to date.
    Paying users do not have this message in their emails.
    Get the free SPAMfighter here: http://www.spamfighter.com/len
     

Share This Page