Skip to Content
0
Former Member
Jun 22, 2009 at 12:56 PM

Crystal error: A summary has been specified on a non-recurring field.

1270 Views

Hi,

Im encountering the following error while trying to aggregate a formula field in one of my reports:

"A summary has been specified on a non-recurring field"

The report calls a subreport in the details section which returns a shared currency variable for every record generated. Im capturing this varaiable using a formula field say Temp1 as below,

Temp1

====================

WhilePrintingRecords;

Shared CurrencyVar ExRate;

ExRate

Im using Temp1 in another formula field Temp2 to perform calculation using another formula field as below,

Temp2

=====================

@Temp1 * @Actual

I have to aggregate Temp2 for each group of records the report generates.

But the report isnt letting me do so via the insert menu. On manually adding the sum function in a formula, it says "cannot summarize field". If i add sum(temp2) to an existing formula field on the report, it gives the error 'A summary has been specified on a non-recurring field' while running it.

Have been stuck on this for a while.

Any Pointers will be appreciated.

Thanks

Dhiraj