Tuesday, February 8, 2011

Writing If statement in XML Publisher: An example


Consider there is a field which will display negative and positive amount while the XML report is rendered. Now we have to insert a condition to make it to display Zero, when the amount is a negative value.

Before inserting the If condition to cater the above requirement:


After inserting the If condition:


Try to avoid spaces while writing the code. Main concepts to understand here is the Get_Variable and Set_Variable.

0 comments:

Post a Comment

Total Pageviews

Copyright © Tech & Management Notes