XML <IF> condition

Sep 14, 2005 1 Replies

Following code segment looks good but the equates to true always and all departments print... What am I doing wrong?



"Non-Taxable Sales:" 0 "TATTOO"


Report.Department.Name = TATTOO Report.Department.Name "|" Report.Department.Sales NonTaxableTotal + Report.Department.Sales



"|==============================================|" "Total |" NonTaxableTotal


unfortunately, the IF-CONDITION construct will not evaluate strings. Best thing I can suggest is trying the Department ID.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required