Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub-Reports

Status
Not open for further replies.

PJShows

Programmer
Nov 1, 2002
7
US
Is it possible to have a report that pulls information from two sub-report but type the criteria in once.

IE: if both query's have Between[Start date] and [End Date]in the criteria.

Right now when I run the report you have to enter these areas in twice. Once for each query that runs. I want to enter them once. Does any one know of a way?
 
PJ,

Make a form with controls to hold the criteria. Open the report from a button on that form. Make your queries reference the contorls on the form, instead of waiting for you to enter data.

Jeremy =============
Jeremy Wallace
Designing, Developing, and Deploying Access Databases Since 1995

Take a look at the Developer's section of the site for some helpful fundamentals.


Remember to reward helpful tips with the stars they deserve.
 
OK, I see what your saying about creating the form.
But are you saying put the text box as the criteria in they query?
 
Yeah. In the criteria box you can do things like this:
forms!frmYadda!txtWhatever

Jeremy =============
Jeremy Wallace
Designing, Developing, and Deploying Access Databases Since 1995

Take a look at the Developer's section of the site for some helpful fundamentals.


Remember to reward helpful tips with the stars they deserve.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top