Hi All,
I have a report which is firstly grouped by monthtodate, then by a current week formula which looks like this.
datetimevar adjusted;
datetimevar date1:={iApplicationStat.Timestamp};
if dayofweek(date1)=1 then adjusted:=date1- 6
else
adjusted:=date1-dayofweek(date1)+2
Now, when i run this report tomorrow (1/11/2005) the weekly summary isnt going to show the figures for monday because of 'group one' being grouped by month, and the select expert is also set to month date.
Is there any way around this problem??
I basically want the monthly group to summarize month to date and then within that, i want the weekly group to summarise the week starting monday, which happens to include the last day of last month.
cheers
eddie
I have a report which is firstly grouped by monthtodate, then by a current week formula which looks like this.
datetimevar adjusted;
datetimevar date1:={iApplicationStat.Timestamp};
if dayofweek(date1)=1 then adjusted:=date1- 6
else
adjusted:=date1-dayofweek(date1)+2
Now, when i run this report tomorrow (1/11/2005) the weekly summary isnt going to show the figures for monday because of 'group one' being grouped by month, and the select expert is also set to month date.
Is there any way around this problem??
I basically want the monthly group to summarize month to date and then within that, i want the weekly group to summarise the week starting monday, which happens to include the last day of last month.
cheers
eddie