Summary
using 'call:' inside 'if' statement
Content
I'm having some troubles with the syntax for the code below. The code is embedded in a field within a .rtf.
I have an alphanumeric that I am doing a 'to_number' in order to do a comparison. Everything works fine if I use text in the 'then' statement. The code breaks down when I try using <?call:jack?> rather than text.
Works:
<?xdofx:if to_number(TOTAL_AMOUNT) > 25000 then 'Higher' end if?>
Does not work:
<?xdofx:if to_number(TOTAL_AMOUNT) > 25000 then <?call:jack?> end if?>
Does anyone have any suggestions about what I am doing wrong? Any suggestions are appreciated.
Thanks.