syntax - how do i subtract two grandtotal fields in Crystal Reports -


i'm using crystal reports , have created 2 sum grandtotal fields. want field 1 - field 2 in x1 formula, can't call fields formula. tried use sum({field1}) - 2 doesn't seem grandtotal.

is possible grandtotal in sum sum({field1}.grandtotal) ?

create formula , write

sum({field1}-sum({field2} 

and place @ rigt part after columns.

if doesn't work follow below process.


crate formula @grandtotal1

sum({field1},{group1}(if using group) 

create formula @grandtotal2

sum({field1},{group2}(if using group) 

now create formula

evaluateafter(@grandtotal1); evaluateafter(@grandtotal2)  @grandtotal1+@grandtotal2 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -