Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $95

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
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page