Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
I try to get sub total .First i create running field and select amount field from table and save it with name e.g.#stax_amount and drag this in field in crystal report then after this i write these 2 shared formulas



how to solve it


What I have tried:

formula 1
shared a as number
shared b as number
a={#stax_amount}
b=b+a
formula=a
a=0


formula 2
shared b as number
formula=b
b=0
then i drag formula 2 in total field but when i run report then total display not correct
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900