473,386 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Multiple Queries into One Report?

I have created several individual queries to report #s of children in
particular age ranges. How can I generate a report that shows the
results of each query in the same report? TIA--Ed
Nov 12 '05 #1
5 11165
One way is to make a separate subreport for each query.

But it sounds as if your queries are so similar that you could use one
master query and group on whatever field shows the difference.

HTH
- Turtle

"Ed MacAlmon" <th******@swbell.net> wrote in message
news:lu********************************@4ax.com...
I have created several individual queries to report #s of children in
particular age ranges. How can I generate a report that shows the
results of each query in the same report? TIA--Ed

Nov 12 '05 #2
Use a UNION query to stick them together

P
"Ed MacAlmon" <th******@swbell.net> wrote in message
news:lu********************************@4ax.com...
I have created several individual queries to report #s of children in
particular age ranges. How can I generate a report that shows the
results of each query in the same report? TIA--Ed

Nov 12 '05 #3
Thanks for the repsponse, MacDermott. Can you tell me more about what
the master would look like? Does it contain eache of the individuals
linked in some way? --Ed

On Sat, 01 Nov 2003 00:28:57 GMT, "MacDermott" <ma********@nospam.com>
wrote:
One way is to make a separate subreport for each query.

But it sounds as if your queries are so similar that you could use one
master query and group on whatever field shows the difference.

HTH
- Turtle

"Ed MacAlmon" <th******@swbell.net> wrote in message
news:lu********************************@4ax.com.. .
I have created several individual queries to report #s of children in
particular age ranges. How can I generate a report that shows the
results of each query in the same report? TIA--Ed


Nov 12 '05 #4
Thanks, Phobos. I'll give it a try. --Ed

On Sat, 1 Nov 2003 00:28:48 -0000, "Phobos" <la******@spammers.co.uk>
wrote:
Use a UNION query to stick them together

P
"Ed MacAlmon" <th******@swbell.net> wrote in message
news:lu********************************@4ax.com.. .
I have created several individual queries to report #s of children in
particular age ranges. How can I generate a report that shows the
results of each query in the same report? TIA--Ed


Nov 12 '05 #5
Linking is possible, using the LinkMasterFields and LinkChildFields
properties of the subreport,
but it is not required; you can put a completely unrelated subreport on a
report.

HTH
- Turtle

"Ed MacAlmon" <th******@swbell.net> wrote in message
news:n1********************************@4ax.com...
Thanks for the repsponse, MacDermott. Can you tell me more about what
the master would look like? Does it contain eache of the individuals
linked in some way? --Ed

On Sat, 01 Nov 2003 00:28:57 GMT, "MacDermott" <ma********@nospam.com>
wrote:
One way is to make a separate subreport for each query.

But it sounds as if your queries are so similar that you could use one
master query and group on whatever field shows the difference.

HTH
- Turtle

"Ed MacAlmon" <th******@swbell.net> wrote in message
news:lu********************************@4ax.com.. .
I have created several individual queries to report #s of children in
particular age ranges. How can I generate a report that shows the
results of each query in the same report? TIA--Ed

Nov 12 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Geoff Berrow | last post by:
This is puzzling. If I run $sql = "INSERT INTO customer (custid,username,password,title,firstname,lastname,street,towncity,postcode,telno,mobile,email,glasses) VALUES...
3
by: Gord | last post by:
I would like to create a summary report from the results of 11 queries (based on 2 tables). All the queries have the same format and return 3 numbers (Count, Current Year Bal, Last Year Bal.)...
4
by: Dave Edwards | last post by:
I understand that I can fill a datagrid with multiple queries, but I cannot figure out how to fill a dataset with the same query but run against multiple SQL servers, the query , table structure...
1
by: mattcatmattcat | last post by:
I have a VB7 aspx file I am creating that requires multiple queries each dependant on the previous queries results. If I run these queries in foxpro, I just run a query then create a cursor with...
8
by: beretta819 | last post by:
Ok, so I apologize in advance for the wordiness of what follows... (I am not looking for someone to make this for me, but to point me in the right direction for the steps I need to take.) I was...
7
by: vaiism | last post by:
I am creating a report that outputs the contact information and details about a water treatment plant, and needs to include information about people who work there. If I tie all the information...
1
by: showmegeek | last post by:
I have one main table and multiple queries that give back information from different distribution list, what I would like to do is create one report that is used genericly to give me the information...
4
by: Akhenaten | last post by:
I am currently using enterprise manager to run multiple queries on a single table in a DB. I refresh these queries every few minutes. Due to the huge number of them I was looking for a better way...
3
by: Brett Barry: Go Get Geek! | last post by:
Hello, I just started using Access 2007 after using Access 2003 for a long time. I've created all my queries and they work fine. However, either I forgot or it has changed but, how do I create a...
4
by: BigMac4 | last post by:
Ok i am going to sound like the novice i am but i am hoping that someone will take pity on me and help me out. Here is what i am trying to acheive: I have a report that i need to run using a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.