A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Date Range in Report Header



 
 
Thread Tools Display Modes
  #1  
Old August 13th, 2007, 08:36 PM posted to microsoft.public.access.reports
Cheese
external usenet poster
 
Posts: 63
Default Date Range in Report Header

I have succeeded in putting an unbound text box in the header of my report
that refers to date range criteria of the query that supports this report.
This is what I included in the textbox: =" For the period of " & [Enter start
date using format mm/dd/yyyy] & " And " & DateAdd("d",1,[Enter end date using
format mm/dd/yyyy]). Somewhere along the line, I discovered that data for
the report was not pulling for the final date and was advised to add portions
to the criteria and I now I am not sure what part that is. No matter, the
report still needs to reflect the final date but with the above language the
header displays thus:
For the period of August 1, 2007 to August 9, 2007 when in actuality I
entered 8/01 to 8/08 and my fear is that even though the data is correct the
header as such will lead the user to think that one extra day is added in.
Can you assist? Thanks!
  #2  
Old August 13th, 2007, 09:07 PM posted to microsoft.public.access.reports
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Date Range in Report Header

Adding [Enter ...] as part of the ControlSource property of the control will
NOT connect back to the query. It will throw up a prompt for input to be
used only in the report.

If you want to use data from your report's underlying query, refer to those
fields.

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Cheese" wrote in message
...
I have succeeded in putting an unbound text box in the header of my report
that refers to date range criteria of the query that supports this report.
This is what I included in the textbox: =" For the period of " & [Enter
start
date using format mm/dd/yyyy] & " And " & DateAdd("d",1,[Enter end date
using
format mm/dd/yyyy]). Somewhere along the line, I discovered that data for
the report was not pulling for the final date and was advised to add
portions
to the criteria and I now I am not sure what part that is. No matter,
the
report still needs to reflect the final date but with the above language
the
header displays thus:
For the period of August 1, 2007 to August 9, 2007 when in actuality I
entered 8/01 to 8/08 and my fear is that even though the data is correct
the
header as such will lead the user to think that one extra day is added in.
Can you assist? Thanks!



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.