Hi All,
I have a report where I have to describe how many prepaid calling cards has been expired (30 days to count after first use). In my Database I have card SERIAL number and other fields like DATE, AMOUNT, SALE etc. This means I have first to loop on each SERIAL, then check 1st day (min Date)it was used for making call and then last date (max Date), take the difference (last day - first day) and if it => 30 days, then say "Expired" else "In Use".
I am using CR 10.0 with SQL2000.
Any help will be greatly apprciated.
Kitto
I have a report where I have to describe how many prepaid calling cards has been expired (30 days to count after first use). In my Database I have card SERIAL number and other fields like DATE, AMOUNT, SALE etc. This means I have first to loop on each SERIAL, then check 1st day (min Date)it was used for making call and then last date (max Date), take the difference (last day - first day) and if it => 30 days, then say "Expired" else "In Use".
I am using CR 10.0 with SQL2000.
Any help will be greatly apprciated.
Kitto