A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Multiple Queries to Multiple Reports



 
 
Thread Tools Display Modes
  #1  
Old June 3rd, 2010, 02:53 PM posted to microsoft.public.access.queries
mguffey5
external usenet poster
 
Posts: 12
Default Multiple Queries to Multiple Reports

I have a database that tracks cadets that will commission into the military
and they are broken into their year groups.

My problem is that to generate a report for each year group I need a
seperate query for each year group so I have multiple reports and multiple
queries in my database.

I'm trying to figure out a way to eliminate all those quieres down to one
query and report so when I click the button to bring up the report a box will
open up asking me to type in the year of commission and then the report will
only show those cadets commissioning in that year.

Any help would be appreciated.

Matt
  #2  
Old June 3rd, 2010, 03:53 PM posted to microsoft.public.access.queries
Kc-Mass
external usenet poster
 
Posts: 362
Default Multiple Queries to Multiple Reports

Hi

Two options:

If you want to produce a report for a single year look in help file for
"Parameter Query". A parameter query will prompt for the year you are
interested in. (you'll only need one query and one report)

If you want a single report on all cadets grouped by year then create one
query that pulls all the cadets. Create one report to display all cadets.

In the report right click on the report and select "Sorting and Grouping".
Enter the "Year" as the field. Select Group headers and footers as you
need.

Regards

Kevin






"mguffey5" wrote in message
...
I have a database that tracks cadets that will commission into the military
and they are broken into their year groups.

My problem is that to generate a report for each year group I need a
seperate query for each year group so I have multiple reports and multiple
queries in my database.

I'm trying to figure out a way to eliminate all those quieres down to one
query and report so when I click the button to bring up the report a box
will
open up asking me to type in the year of commission and then the report
will
only show those cadets commissioning in that year.

Any help would be appreciated.

Matt



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.