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!

Show date on report 1

Status
Not open for further replies.

uapak90

Technical User
Jul 12, 2007
30
US
I have a report linked to a query. The query is set up where the field of date is between two certain dates. So when i open the report, it asks me for the beginning date, and the ending date. Is there any way I can show those dates on the report itself?
 
I would create a form where you have two text boxes named start and end. Enter the dates in these. Create a command button on this form to open up the report. Setup your query that is used for the report so it pulls those dates from this form. On the report just add two text boxes with these values:

=Forms!Results_Report!start

and

=Forms!Results_Report!end

 
If you want to stick with your parameter query, place a text box in the Header of your report with this for the COntrol Source property:

=Reports![reportname]![parametername]

For example:

=Reports![rptPeriodicReport]![Enter Start Date]

--Lilliabeth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top