Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

create a balance sheet using crystal reports

Status
Not open for further replies.

ajayas

Programmer
Sep 22, 2001
20
IN
hello friends,
I am working on an accounting package with vb, sql and crystal reports.

I have taken summary of {@ledgercredits} and {@ledgerdebits}. I get it perfectly. Then taking a formula I take groupwise difference of the above two summaries.
{@diff}=sum({@ledgercredits}) - sum({@ledgerdebits})

What i want is the difference of any two specific groups of the {@diff} values.
Please help.

Thank you.
Ajay
 
It sounds like you need to create your summaries for the Group rather than the whole Report.

sum({@ledgercredits},GROUPNAME)-
sum({@ledgerdebits},GROUPNAME)

If you actually want the resulting value to be called diff then you can declare it as a variable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top