Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / July 2005

Tip: Looking for answers? Try searching our database.

Start and End Dates on Report Header

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frank - 19 Jul 2005 14:55 GMT
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 - 19 Jul 2005 14:59 GMT
> I have a report built on a query which is built on a table
>
[quoted text clipped - 8 lines]
>
> 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]

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

Frank - 19 Jul 2005 15:59 GMT
Thanks Rick for most helpful comments. Tried and all worked great.

>> I have a report built on a query which is built on a table
>>
[quoted text clipped - 16 lines]
> ="For Records Dated Between " & [Enter Start Date] & " and " &  [Enter End
> Date]
fredg - 19 Jul 2005 17:25 GMT
> I have a report built on a query which is built on a table
>
[quoted text clipped - 8 lines]
>
> 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'
Signature

Fred
Please only reply to this newsgroup.
I do not reply to personal email.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.