|Dynamic Text [message #715293]
||Sat, 13 August 2011 06:22
| karvesh ghunsam
Registered: July 2011
Dear All, |
I am currently looking how to use the Dynamic text control in BIRT.
I am having an issue:
I have 3 fields in my dataset: Address1, Address2, Address3
I want to display the 3 fields concatenated in a dynamic text that i set to HTML and Dynamic. The 3 addresses are then separated by a comma (","). Yet, if an address is blank (""), i dont want to show it.
if(<VALUE-OF>row["Add1"]</VALUE-OF> == "")
<VALUE-OF>row["Add1"]</VALUE-OF> + ",";
Unfortunately, it does not seem to work. Could anyone please please advise me here how to use it properly?
Thanking you in advance
Powered by FUDForum
. Page generated in 0.10101 seconds