I'm using Crystal v9 with Peachtree 2008-Pervasive SQL database.
I need to create a column to display the values for GL Account numbers for the same week last year as the week entered in Start Date and End Date parameters.
The user enters the {?startdate}, for example of 11/19/07 and {?enddate} as 11/25/07 - the day of the week needs to start on Monday and end on Sunday. If this is week 47 this year, then week 47 for last year should be displayed on the report.
I need to show for that same week last year what the amount was each of my GL account numbers. Last year, the week would have been 11/20/06 to 11/26/06.
(11/19/07 to 11/26/07) (11/20/06 to 11/26/06)
Account This Year Last Year
Telephone 200 150
Travel 2000 4000
How can I create a formula to extract the right amounts?
I need to create a column to display the values for GL Account numbers for the same week last year as the week entered in Start Date and End Date parameters.
The user enters the {?startdate}, for example of 11/19/07 and {?enddate} as 11/25/07 - the day of the week needs to start on Monday and end on Sunday. If this is week 47 this year, then week 47 for last year should be displayed on the report.
I need to show for that same week last year what the amount was each of my GL account numbers. Last year, the week would have been 11/20/06 to 11/26/06.
(11/19/07 to 11/26/07) (11/20/06 to 11/26/06)
Account This Year Last Year
Telephone 200 150
Travel 2000 4000
How can I create a formula to extract the right amounts?