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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SubReport Error

Status
Not open for further replies.

BeffyMar

Programmer
Jul 20, 2000
17
0
0
US
I have a main report that is produced according to an embedded query.&nbsp;&nbsp;The person must enter in a Fiscal year and the dates are pulled from a fiscal year table and used to compare date fields in another query in the main report.<br><br>The subform uses the same first query that gets the dates.<br><br>When I run the report, it asks for the Fiscal year 4 times.&nbsp;&nbsp;How can I make it so that it only asks for the Fiscal year once.<br><br>Thanks in advance,<br>Mary Beth
 
I'd say the query should reference a form control where the date criteria is set.&nbsp;&nbsp;Try bringing the criteria form up in the OnOpen event of the report, and having the user enter their criteria there.<br><br>HTH,<br>Drew
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top