Okay, I have given up ... I need some help, here. I'm using CR 9, and trying to create a report that will show the difference between 1st half 2006 and 1st half 2005. All the information is stored in a SQL database. I've probably gone about it all wrong, but I've tried about 50 different things, and I'm out of ideas.
Here's what I have so far:
Group 1 - Client Name
Group 2 - Date (sorted specifically by 1st Half 2005 and 1st Half 2006)
Details - suppressed, contains dates and amounts.
GF 2 - contains 2 formula, one for each date, looks like this:
if GroupName ({vMaster.Date}, "daily") = "1st Half 2005" then sum({vMaster.Amount},{vMaster.Date}) else 0
(The 1st Half 2006 formula looks exactly the same, with the exception of the selection criteria)
I'm getting correct amounts in my group footers, but when I go to process my differences via a separate formula in GF1, I'm getting it to only process the 1st Half of 2006 - won't recognize 2005 at all - here's that formula:
whileprintingrecords;
{@1st Half 2006 Sum} - {@1st Half 2005 Sum}
I thought it was pretty basic, but I'm doing something wrong, and I know it's something simple, but I can't figure out what! Anybody have any ideas? Thanks!
LK
Here's what I have so far:
Group 1 - Client Name
Group 2 - Date (sorted specifically by 1st Half 2005 and 1st Half 2006)
Details - suppressed, contains dates and amounts.
GF 2 - contains 2 formula, one for each date, looks like this:
if GroupName ({vMaster.Date}, "daily") = "1st Half 2005" then sum({vMaster.Amount},{vMaster.Date}) else 0
(The 1st Half 2006 formula looks exactly the same, with the exception of the selection criteria)
I'm getting correct amounts in my group footers, but when I go to process my differences via a separate formula in GF1, I'm getting it to only process the 1st Half of 2006 - won't recognize 2005 at all - here's that formula:
whileprintingrecords;
{@1st Half 2006 Sum} - {@1st Half 2005 Sum}
I thought it was pretty basic, but I'm doing something wrong, and I know it's something simple, but I can't figure out what! Anybody have any ideas? Thanks!
LK