Wednesday, 20 August 2014

How to select credit,Debit and Balance Code for Crystal report viewer using formula feild





write this code in formula feild and Select Basic Syntax



//// working ==================


Global Bal As number
if {T_Statement.Debit}=0 then
Bal={T_Statement.Credit}+Bal
else
Bal=Bal-{T_Statement.Debit}
end if
formula = Bal



No comments:

Post a Comment