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

Customize Group Name for Date Group 1

Status
Not open for further replies.

mychal

Programmer
Feb 13, 2002
41
US
In CR 8.5, I'm grouping by a date field and printing the section for every two weeks.

How can I customize the group name so that I show the date range as the group name?

Gracias
 
...instead of just the first date in the range?
 
Go to report->change group expert->date group->options->customize group name field->use a formula as group name->x+2 and enter:

totext({table.date}-dayofweek({table.date}) + 1,"MM/dd/yyyy") + " - " + totext({table.date}-dayofweek({table.date}) + 7,"MM/dd/yyyy")

-LB
 
One star for you. Close, but not perfect. The last string should be + 14. ;)
 
Sorry, didn't read your post closely enough--thought it was for one week.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top