Criteria In Report Heading

L

Laura

I have a report that is based on pre-entry of a date range (effective and
expiration) on a criteria pop-up type form. Is it possible to show the
criteria date range on the report header so that anyone looking at the report
knows the criteria used?

Thanks
 
D

Damian S

Hi Laura,

Have an unbound text box in your report header with the control source:

="Criteria: Dates between " & format(forms!frmReportCriteria.dteStartDate,
"dd/mm/yyyy") & " and " & format(forms!frmReportCriteria.dteEndDate,
"dd/mm/yyyy")

Hope this helps.

Damian.
 
H

Howard

This is what I do but I think you will find the 'pop up type form' must
still be open for this to work.
One way is to make the button or whatever that initiates the report via the
pop up to only make the pop up invisible, not closed, while the report is
run. then put the form close code after the code that runs the report.
Where this code goes depends upon whether you run the report *from* the
popup form or *after* showing the pop up using a button elsewhere.
Howard
 

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