|
-
Aug 29th, 2006, 01:39 AM
#1
Thread Starter
Hyperactive Member
Formula
Hi
I have a table contains the ledger name, op balance and opdc for dr/cr
Gen Table: (Name, OpBal, OpDc)
I want to sum the opbal for opdc='D' and opbal for opdc='C'
Formula:
NumberVar Tdr;
NumberVar Tcr;
if {Gen.Opdc}='D' then
Tdr:=Tdr+Sum({Gen.opbal})
else
Tcr:=Tcr++Sum({Gen.opbal})
Pls guide how to get the result.
Thanks
Asm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|