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 / Reports / Printing / January 2007

Tip: Looking for answers? Try searching our database.

Page Footer Date question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Guy - 23 Jan 2007 00:53 GMT
Hello,

I've created a report with a subform. The subform is displayed in datasheet
view and one of the fields is a date. I take the maximum date and print it
elsewhere on the report body. This works fine. The issue I'm having a problem
with is that I also need that date to appear in the page footer. This is not
working. It seems to be picking up data from the underlying table hundreds of
records away - as if Access cannot tell where it is. I can step through the
report, record by record and everything works perfectly except the page
footer. And I do not have a calculated field in the footer. As I step through
the report the page footer data changes, too.

Any suggestions? Thanks,
Guy :)
Duane Hookom - 23 Jan 2007 03:31 GMT
Add a text box to your report header section:
Name: txtMaxDate
Control Source: =Max([A Date])

Then add a text box to your page footer:
Control Source: =txtMaxDate

Signature

Duane Hookom
Microsoft Access MVP

> Hello,
>
[quoted text clipped - 10 lines]
> Any suggestions? Thanks,
> Guy :)
Guy - 24 Jan 2007 18:22 GMT
Thanks for the suggestion. Sorry it took so long to get back to you but I'm
creating this app during my spare moments and wanted to test it before I
answered you.

It didn't work in the report header but worked from the page header. Also, it
works for all records except the first record. Not sure what it is that is
causing this.

>Add a text box to your report header section:
>Name: txtMaxDate
>Control Source: =Max([A Date])
>
>Then add a text box to your page footer:
>Control Source: =txtMaxDate
 
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.