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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting Date Range in Header or Title 1

Status
Not open for further replies.

rji1124

Technical User
Nov 15, 2001
67
US
Hi... I was wondering how I can insert a date range in a header or title... I have a report that will run every Monday (or Tuesday if Mon is a holiday) and the report extracts data using LASTFULLWEEK... we report on all changes that were implemented from Sun to Sat in the previous week.

I would like the header or title to have a line that looks like:

Period Covered: Sunday 6/15/2003 to Saturday 6/21/2003

Any help will be much appreciated...

Thanks
 
Try:

"Period Covered: " + totext(minimum(lastfullweek),"dddd MM/dd/yyyy") + " to " +totext(maximum(lastfullweek),"dddd MM/dd/yyyy")

-k
 
Worked perfectly! Thanks... you have saved me hours of trial and error....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top