Adding a Date Criteria to a report

S

Shy

Hi,

I created a select query with the criteria Between[Enter the begining
date] And [Enter the Ending Date] - this workes well but I want the
begining and end date criteria to appear on the report header. How can
I acheive this? Plaese advise. I did create a text box in the report
header and entered the same criteria as above but it gave me a syntex
error. Then I entered the expression "Between " & Enter the Begining
Date} & " AND " & {Enter ending Date] in the text box. When I ran the
report, the start date and end date were not visible - the report
displayed the same criteria I typed - Between " & Enter the Begining
Date} & " AND " & {Enter ending Date]. Please help.

Thank you in advance Shyamalee
 
A

Allen Browne

Break the problem down.

Try a text box with Control Source of:
=[Enter the begining date]

Once you have that working, you can try:
="Between " & Format([Enter the begining date], "Short Date") &
" and " & Format([Enter the Ending Date], "Short Date")
 

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