Start and End Dates on Report Header

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

I have a report built on a query which is built on a table

In the query, I have a field called [Date]. In the criteria section, I have
a Between [Enter Start Date] And [ Enter End Date] expression so that users
can limit the data to a data range.

What I want to do is place two text boxes in the header of the Report that
will reflect the Start and End Dates the users enter.

What is the best way to do this?

Any assistance is greatly appreciated.
 
Frank said:
I have a report built on a query which is built on a table

In the query, I have a field called [Date]. In the criteria section,
I have a Between [Enter Start Date] And [ Enter End Date] expression
so that users can limit the data to a data range.

What I want to do is place two text boxes in the header of the Report
that will reflect the Start and End Dates the users enter.

What is the best way to do this?

Any assistance is greatly appreciated.

If you use those EXACT same expressions in a TextBox ControlSource on the
report they will be displayed.

EXAMPLE:

="For Records Dated Between " & [Enter Start Date] & " and " & [Enter End
Date]
 
Thanks Rick for most helpful comments. Tried and all worked great.


Rick Brandt said:
Frank said:
I have a report built on a query which is built on a table

In the query, I have a field called [Date]. In the criteria section,
I have a Between [Enter Start Date] And [ Enter End Date] expression
so that users can limit the data to a data range.

What I want to do is place two text boxes in the header of the Report
that will reflect the Start and End Dates the users enter.

What is the best way to do this?

Any assistance is greatly appreciated.

If you use those EXACT same expressions in a TextBox ControlSource on the
report they will be displayed.

EXAMPLE:

="For Records Dated Between " & [Enter Start Date] & " and " & [Enter End
Date]
 
I have a report built on a query which is built on a table

In the query, I have a field called [Date]. In the criteria section, I have
a Between [Enter Start Date] And [ Enter End Date] expression so that users
can limit the data to a data range.

What I want to do is place two text boxes in the header of the Report that
will reflect the Start and End Dates the users enter.

What is the best way to do this?

Any assistance is greatly appreciated.

Rick Brandt gave you your answer.

Additionally...
Date is a reserved Access/VBA/Jet word and should not be used as a
field name.
See the Microsoft KnowledgeBase article for your version of Access:

109312 'Reserved Words in Microsoft Access' for Access 97
209187 'ACC2000: Reserved Words in Microsoft Access'
286335 'ACC2002: Reserved Words in Microsoft Access'
321266 'ACC2002: Microsoft Jet 4.0 Reserved Words'
 

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

Back
Top