Re: Changing text based on a field value
Posted: Wed Apr 11, 2018 5:39 pm
What I find now is the code works in HTML preview but not in the regular preview, flash preview or the viewer. The error messages are now gone though.
It reads the first IIF statement in the preview but not the 2nd. Since it works one place (html) it seems odd it will not in the others.
Any ideas?
It reads the first IIF statement in the preview but not the 2nd. Since it works one place (html) it seems odd it will not in the others.
Any ideas?
Code: Select all
{IIF((liqMast.LicenseTypeCode = "MBI" OR liqMast.LicenseTypeCode = "BKR" OR liqMast.LicenseTypeCode = "DIM" OR liqMast.LicenseTypeCode = "REP"),"RENEWAL APPLICATION FOR REPRESENTATIVE'S ID CARD - $20","")}
{IIF((liqMast.LicenseTypeCode = "FWN" OR liqMast.LicenseTypeCode = "MNB" OR liqMast.LicenseTypeCode = "W32" OR liqMast.LicenseTypeCode = "WLQ" OR liqMast.LicenseTypeCode = "WLQBR" OR liqMast.LicenseTypeCode ="WMB" OR liqMast.LicenseTypeCode ="WMBBR" OR liqMast.LicenseTypeCode = "WWN" OR liqMast.LicenseTypeCode ="WWNMFR" OR liqMast.LicenseTypeCode = "LQRMFR"),"RENEWAL APPLICATION FOR SALES PERSON'S ID CARD - $35", "")}