I'm using Crystal 11 to query an Access 2k database. I have quite a bit of experience using Access and its built-in report tool but am very new at Crystal.
The objective is to get a total of billable hours of several technicians. In the report I have a formula (@Money) to calculate the billable of each tech:
That works very well.
Now if I try to create a grand total for all the techs by creating the following formula:
the formula editor tells me "This field can't be summarized"
How do I get that grand total?
The objective is to get a total of billable hours of several technicians. In the report I have a formula (@Money) to calculate the billable of each tech:
Code:
dim hours as double, regular as double, rate as currency, otime as double
hours = Sum ({TransService.ServiceHours}, {TransService.ServiceTech})
regular = 40
rate=68
if hours <= regular then
formula = hours * rate
else
otime = hours - regular
formula = (regular * rate) + ((hours - regular) * (rate*1.5))
end if
That works very well.
Now if I try to create a grand total for all the techs by creating the following formula:
Code:
formula = Sum ({@Money})
the formula editor tells me "This field can't be summarized"
How do I get that grand total?