S
sambrereton
- Original Poster
- #1
Hello,
I am fairly new to Sage Report Designer but I have created a pretty good invoice design that suits my needs, however I am wishing to do something a bit out of the box here.
I need to create an expression that either
1. Says PAID if the Total Amount Due equals $0.00
2. Says UNPAID if the Total Amount Due exceeds $0.00
I've tried to create an IF statement, however I cannot get the expression editor to accept the query, which is in all senses, fairly logical (well for someone from a VB6/VB.NET background)
If INVOICE.FOREIGN_INVOICE_GROSS - INVOICE.FOREIGN_AMOUNT_PREPAID = Value("0.00") Then Cstring("PAID") Else CString("UNPAID")
I'm not sure if I am doing it correctly, could anyone point out how to do this properly within Sage?
Thanks,
Sam.
I am fairly new to Sage Report Designer but I have created a pretty good invoice design that suits my needs, however I am wishing to do something a bit out of the box here.
I need to create an expression that either
1. Says PAID if the Total Amount Due equals $0.00
2. Says UNPAID if the Total Amount Due exceeds $0.00
I've tried to create an IF statement, however I cannot get the expression editor to accept the query, which is in all senses, fairly logical (well for someone from a VB6/VB.NET background)
If INVOICE.FOREIGN_INVOICE_GROSS - INVOICE.FOREIGN_AMOUNT_PREPAID = Value("0.00") Then Cstring("PAID") Else CString("UNPAID")
I'm not sure if I am doing it correctly, could anyone point out how to do this properly within Sage?
Thanks,
Sam.
