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  

Getting Dates in Report



 
 
Thread Tools Display Modes
  #1  
Old October 27th, 2008, 02:33 PM posted to microsoft.public.access.reports
GoBrowns!
external usenet poster
 
Posts: 30
Default Getting Dates in Report

I am trying to get the header of my report to tell the user the Beginning and
End Dates of the data (which they imput into a form to get the proper time
period for the report).

I put this into the header:

=Forms!Reason_Code_Report_Form![Beginning Date]

and a like line in for [Ending Date]

Even though the report returns the right data, the date never come across -
always returns #Name?

What am I missing here that will make it work???

Thanks!


  #2  
Old October 27th, 2008, 02:58 PM posted to microsoft.public.access.reports
Klatuu[_3_]
external usenet poster
 
Posts: 396
Default Getting Dates in Report

It should be in the Control Source property of a Text Box on your report.
Is sounds like you have it somewhere else.

"GoBrowns!" wrote in message
...
I am trying to get the header of my report to tell the user the Beginning
and
End Dates of the data (which they imput into a form to get the proper time
period for the report).

I put this into the header:

=Forms!Reason_Code_Report_Form![Beginning Date]

and a like line in for [Ending Date]

Even though the report returns the right data, the date never come
across -
always returns #Name?

What am I missing here that will make it work???

Thanks!




  #3  
Old October 27th, 2008, 03:04 PM posted to microsoft.public.access.reports
GoBrowns!
external usenet poster
 
Posts: 30
Default Getting Dates in Report

I do have it in the Control Source property of my text Boxes. It just does
not return the dates.

Thanks for the suggestion - what else should I look for?!?



"Klatuu" wrote:

It should be in the Control Source property of a Text Box on your report.
Is sounds like you have it somewhere else.

"GoBrowns!" wrote in message
...
I am trying to get the header of my report to tell the user the Beginning
and
End Dates of the data (which they imput into a form to get the proper time
period for the report).

I put this into the header:

=Forms!Reason_Code_Report_Form![Beginning Date]

and a like line in for [Ending Date]

Even though the report returns the right data, the date never come
across -
always returns #Name?

What am I missing here that will make it work???

Thanks!





  #4  
Old October 27th, 2008, 03:58 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Getting Dates in Report

GoBrowns! wrote:

I am trying to get the header of my report to tell the user the Beginning and
End Dates of the data (which they imput into a form to get the proper time
period for the report).

I put this into the header:

=Forms!Reason_Code_Report_Form![Beginning Date]

and a like line in for [Ending Date]

Even though the report returns the right data, the date never come across -
always returns #Name?

What am I missing here that will make it work???



The obvious reason for #Name is because [Beginning Date] is
not the name of the text box on the form. Carefully check
the name of the text box to make sure it is ***exactly***
the same as the name used in the report.

If it really is the same, make sure the form is open the
entire time the report is open.

If you're sure those conditions have been met, then check
the name of the form and try enclosing the form name in [ ]

--
Marsh
MVP [MS Access]
 




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 07: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.