HyperHeidi
Technical User
Hi All
I am creating a cheque spec where I have a Debit & Credit columns. I need to have either the debit or credit to appear, but not both. Debit or credit can not have a 0.00 but rather I require blank.
Situation is:
If netAmt > 0 then print the value
If netAmt <=0 then suppress printing the value to the form
I have coded inside a variable called Debit:
if {APADV.NETAMTPD} < 0 then {APADV.NETAMTPD} else "0"
But the client does not want the 0.00 to show on the report.
I can not Suppress the detail line if APADV.NETMTPD = 0 because I print inside of the variable CREDIT beside it, and vice versa.
This code is going inside both of my variables on the same detail line, but debit prints when < 0 and credit prints when >0.
Thank you in advance
Hyper Heidi
I am creating a cheque spec where I have a Debit & Credit columns. I need to have either the debit or credit to appear, but not both. Debit or credit can not have a 0.00 but rather I require blank.
Situation is:
If netAmt > 0 then print the value
If netAmt <=0 then suppress printing the value to the form
I have coded inside a variable called Debit:
if {APADV.NETAMTPD} < 0 then {APADV.NETAMTPD} else "0"
But the client does not want the 0.00 to show on the report.
I can not Suppress the detail line if APADV.NETMTPD = 0 because I print inside of the variable CREDIT beside it, and vice versa.
This code is going inside both of my variables on the same detail line, but debit prints when < 0 and credit prints when >0.
Thank you in advance
Hyper Heidi