Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

pulling dates into a report.....

Status
Not open for further replies.

JennW

IS-IT--Management
Jan 30, 2001
39
0
0
US
I have several tables in my database. Lets call them tables red, white and blue.

Based on information from table red a report is generated.
The red table was created from a make-table query. Part of this make-table query was a criteria of a date range.

What I am trying to do is have the criteria that is entered in this query appear in a text box in the report footer. This way when you read the report you will know what date range encompasses this data.

Is there a way to do this?

thanks so much!

JennW
 
The easiest way would be to include the date range in your make table query and just add those columns to your report footer. Good Luck,
Mike T
 
Put your needed date in VBA codes (event ReportFooter: OnFormat):

e.g.

Private Sub ReportFooter_Format(Cancel As Integer, FormatCount As Integer)
me.txtDate=dlookUp("MyDate","MyQuery",MyCriteria)
end sub

Aivars
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top