Report from Parameter query

D

DK

I am using a Parameter query to generate a report in
Access 2002. My parameter query has two criteria, a START
DATE and END DATE.

My question is as follows - can i include somewhere in
the report the start date and end date based on which i
have created the report? for example, my report generates
records from 10/1/03 to 11/1/03. Can I include these two
dates on my report so that whenever i generate a report
on a similar parameter, the exact time period is shown in
my report as well as.

thx.

DK
 
M

Marshall Barton

DK said:
I am using a Parameter query to generate a report in
Access 2002. My parameter query has two criteria, a START
DATE and END DATE.

My question is as follows - can i include somewhere in
the report the start date and end date based on which i
have created the report? for example, my report generates
records from 10/1/03 to 11/1/03. Can I include these two
dates on my report so that whenever i generate a report
on a similar parameter, the exact time period is shown in
my report as well as.

Just use the **exact** same parameter names in one or more
text boxes the same as if they were fields in the query.
E.g.

="Data from " & [START DATE] & " to " & [END DATE]
 
R

ryan13

You should be able to add a text box on the report and set the source
code to be the field where the dates are entered. For example, if you
have a form and the dates are entered into a text box, your source code
should be:



[Forms].[Formname]![txtstartdate]



Ryan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top