473,396 Members | 1,929 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,396 software developers and data experts.

Report from multiple queries

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.) under different
conditions.

When I use the Report Wizard to select multiple queries to be included
in my report, I got an error msg. It says "You have chosen fields
from record sources which the wizard can't connect. You may have
chosen fields from a table and from a query based on that table. If
so, try choosing fields from only the table or only the query."

Are there other ways to do this?
Please advise.
Thanks.
Nov 12 '05 #1
3 7731
I can think of possibly 2 ways.

1) Use a Union Query.
2) Use subreports, one for each query.

--
Wayne Morgan
MS Access MVP
"Gord" <gg**@och.ca> wrote in message
news:66**************************@posting.google.c om...
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.) under different
conditions.

When I use the Report Wizard to select multiple queries to be included
in my report, I got an error msg. It says "You have chosen fields
from record sources which the wizard can't connect. You may have
chosen fields from a table and from a query based on that table. If
so, try choosing fields from only the table or only the query."

Are there other ways to do this?
Please advise.
Thanks.

Nov 12 '05 #2
Wayne: Thanks for the reply.
Union query is working for me. However, the returned results were
sorted on the 1st column even thought I didn't have the "Order By".
How can I keep my query in natual order?
"Wayne Morgan" <co***************************@hotmail.com> wrote in message news:<2A******************@newssvr23.news.prodigy. com>...
I can think of possibly 2 ways.

1) Use a Union Query.
2) Use subreports, one for each query.

--
Wayne Morgan
MS Access MVP
"Gord" <gg**@och.ca> wrote in message
news:66**************************@posting.google.c om...
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.) under different
conditions.

When I use the Report Wizard to select multiple queries to be included
in my report, I got an error msg. It says "You have chosen fields
from record sources which the wizard can't connect. You may have
chosen fields from a table and from a query based on that table. If
so, try choosing fields from only the table or only the query."

Are there other ways to do this?
Please advise.
Thanks.

Nov 12 '05 #3
UNION ALL fixed the sorting problem.

Thanks.

"Wayne Morgan" <co***************************@hotmail.com> wrote in message news:<2A******************@newssvr23.news.prodigy. com>...
I can think of possibly 2 ways.

1) Use a Union Query.
2) Use subreports, one for each query.

--
Wayne Morgan
MS Access MVP
"Gord" <gg**@och.ca> wrote in message
news:66**************************@posting.google.c om...
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.) under different
conditions.

When I use the Report Wizard to select multiple queries to be included
in my report, I got an error msg. It says "You have chosen fields
from record sources which the wizard can't connect. You may have
chosen fields from a table and from a query based on that table. If
so, try choosing fields from only the table or only the query."

Are there other ways to do this?
Please advise.
Thanks.

Nov 12 '05 #4

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

Similar topics

6
by: BlackFireNova | last post by:
Using Access 2002 I am writing a report which draws data from several different tables. I can't link all the tables in a query, as some can not be related without truncating the data. I plan...
3
by: Edward | last post by:
ACCESS 2k I need to design a report based on a rota system for staff at various shops. The data is effectively stored in a single table, along the lines of: Initials (e.g. BH, FG, RM etc.)...
0
by: sundowner225 | last post by:
Could someone help me with an output problem? I have an access database that I need to create some xls output from. Basically, I have three tables: Faculty_Table: Fields=ID,Name, Type,...
3
by: wsox66 | last post by:
I am new to Access and need some help building a report. I have looked through previous posts on reports but none of them seem to answer my question completely. I am using Access 2003 and I have...
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: mskapek | last post by:
I need some advise on how to best create an Access 2002 report from multiple "total" queries, each which result in 3- 5 values that I need displayed on my report. Most of the queries do simple...
2
by: kfboren | last post by:
I am wondering if someone can help me. I have created 10 tables, 10 queries for the tables and 10 reports from the quearies. The creteria for the queries is the field named "month". I have created...
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...
6
by: Brett Barry: Go Get Geek! | last post by:
Hello, I have a main report with a Record Source, a DateToday table, that has the current Month and Year. I have about 60 queries, each pulling different data via ODBC, that I am creating...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.