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

Mon to Sun Week in Cross Tab 1

Status
Not open for further replies.

Vegasman

IS-IT--Management
Mar 29, 2005
2
US
Using CR8.5, is there a way to modify the week in a cross tab from Sun-Sat to Mon-Sun?
Thanks in advance-
 
One way is to use a formula like the following as your column field:

{table.date}-dayofweek({table.date},crMonday})+1

-LB
 
That formula seems to work in regards to starting the period on Monday instead of Sunday, but it still seems to end on Saturday. When I select the value to be printed for the column as the last day in the period, it shows Saturdays date instead of Sundays. Any ideas?
Again, thanks in advance.

Tyler
 
To display the last day in the period, change the formula for the column field to:

{table.date}-dayofweek({table.date},crMonday)+7

This formula will change all dates during the week to the last day of the week (Sunday), i.e., there is only one date in the period. You do not need to use the group options screen.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top