ind123p
Programmer
- Sep 28, 2005
- 62
CP(03/01/05 to 03/31/2005) YTD (01/01/05 to 05/31/2005)
Hours Amount Hours Amount
Client1 StaffA 10 $50 150 $750
StaffB 5 $60 50 $1300
Total 15 $110 200 $2050
Client2 StaffA 10 $50 150 $750
StaffB 5 $60 50 $1300
Total 15 $110 200 $2050
CP stands for Current Period
YTD---Year to Date
I get CP and YTD data. But I am also getting data that is difference between YTD data and CP data.
CP(03/01/05 to 03/31/2005) YTD (01/01/05 to 05/31/2005)
Hours Amount Hours Amount Hours Amount
Client1 StaffA 10 $50 140 $700 150 $750
StaffB 5 $60 45 $1240 50 $1300
Total 15 $110 185 $1940 200 $2050
Client2 StaffA 10 $50 140 $700 150 $750
StaffB 5 $60 45 $1240 50 $1300
Total 15 $110 185 $1940 200 $2050
I do not understand why I am getting the difference data (shown in bold.) I was just expecting to see CP and YTD data
Following are the formula I am using in my report
@CPdtrng
if {@trandt} in date(2005,03,01) to date(2005,03,31) then
"CP(03/01/05 to 03/31/2005)"
@YTDdtrng
if {@trandt} in date(2005,01,01) to date(2005,05,01) then
"YTD (01/01/05 to 05/31/2005)"
Can somebody please provide me a direction..?
Hours Amount Hours Amount
Client1 StaffA 10 $50 150 $750
StaffB 5 $60 50 $1300
Total 15 $110 200 $2050
Client2 StaffA 10 $50 150 $750
StaffB 5 $60 50 $1300
Total 15 $110 200 $2050
CP stands for Current Period
YTD---Year to Date
I get CP and YTD data. But I am also getting data that is difference between YTD data and CP data.
CP(03/01/05 to 03/31/2005) YTD (01/01/05 to 05/31/2005)
Hours Amount Hours Amount Hours Amount
Client1 StaffA 10 $50 140 $700 150 $750
StaffB 5 $60 45 $1240 50 $1300
Total 15 $110 185 $1940 200 $2050
Client2 StaffA 10 $50 140 $700 150 $750
StaffB 5 $60 45 $1240 50 $1300
Total 15 $110 185 $1940 200 $2050
I do not understand why I am getting the difference data (shown in bold.) I was just expecting to see CP and YTD data
Following are the formula I am using in my report
@CPdtrng
if {@trandt} in date(2005,03,01) to date(2005,03,31) then
"CP(03/01/05 to 03/31/2005)"
@YTDdtrng
if {@trandt} in date(2005,01,01) to date(2005,05,01) then
"YTD (01/01/05 to 05/31/2005)"
Can somebody please provide me a direction..?