sum on report 
Author Message
 sum on report

I'm trying to sum a column of numbers on a report, but I keep getting
#Error.

The field on the report is the product of two other fields on the report,
thus: Hrs*Rate, and has a name of EmpRate.

The sum I'm trying to get is of all the EmpRates on the report, so I use
=Sum([EmpRate]) but that fails.

Where's the (obvious) fault in my logic?

Thanks!

--
Bill

PhotoSourceFolio webmaster
http://www.*-*-*.com/



Thu, 03 Apr 2003 03:00:00 GMT  
 sum on report

You can't refer to a control contained in the detail. You can use:

=Sum(Hrs * Rate)

Also, make sure you are not attempting to do this in the page footer.

Duane


| I'm trying to sum a column of numbers on a report, but I keep getting
| #Error.
|
| The field on the report is the product of two other fields on the report,
| thus: Hrs*Rate, and has a name of EmpRate.
|
| The sum I'm trying to get is of all the EmpRates on the report, so I use
| =Sum([EmpRate]) but that fails.
|
| Where's the (obvious) fault in my logic?
|
| Thanks!
|
| --
| Bill

| PhotoSourceFolio webmaster
| http://www.photosourcefolio.com
|
|



Thu, 03 Apr 2003 03:00:00 GMT  
 sum on report

Could it be that one or more columns are not numeric?

Maybe you could try adding the calculation to the query:
EmpRate:Hrs*Rate {in the QBE grid}

This sometimes helps

JImBAiley

Quote:

> I'm trying to sum a column of numbers on a report, but I keep getting
> #Error.

> The field on the report is the product of two other fields on the report,
> thus: Hrs*Rate, and has a name of EmpRate.

> The sum I'm trying to get is of all the EmpRates on the report, so I use
> =Sum([EmpRate]) but that fails.

> Where's the (obvious) fault in my logic?

> Thanks!

> --
> Bill

> PhotoSourceFolio webmaster
> http://www.photosourcefolio.com



Thu, 03 Apr 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Conditional Sum on report

2. running sums on reports...

3. Report showing BOTH Aggregate Sum of Display records and Total Sum by Group

4. Reporting sum in a report

5. AM I missing something - Sum and Cumulative Sum

6. How to sum a single fiscal period for monthly expenses and also sum ytd expenses

7. sum total in report

8. Crystal report Sum

9. Crystal Reports: Creating a carry sum

10. Crystal reports group, sum

11. help: Crystal Reports with Variables and Sums

12. HLP: Crystal Reports sub-section sum problem

 

 
Powered by phpBB® Forum Software