TomPerkowski
Programmer
I am trying to revise a report that requires an IIF() in a calculated field. (Pdox4.5)
(sum([extension],group) * (1 - [Orderhdr->discount])) +
iif([show->TaxServChrg] = "Y",[show->ServChrg],0) generates a syntax error. In testing, I changed the [show->ServChrg] to 1 and I receive no error and 1 is added. If I delete the IIF and just add [show->ServChrg], that gets added. Where is the syntax error coming from?
TIA,
Tom
(sum([extension],group) * (1 - [Orderhdr->discount])) +
iif([show->TaxServChrg] = "Y",[show->ServChrg],0) generates a syntax error. In testing, I changed the [show->ServChrg] to 1 and I receive no error and 1 is added. If I delete the IIF and just add [show->ServChrg], that gets added. Where is the syntax error coming from?
TIA,
Tom