05-23-2006 12:53 PM
Hello Friends,
I like to display a text element when it is not empty, otherwise I like to display some other text.
I know how to read text element in Script, but
How to check a text element is empty in Script
Thank you for your time.
Senthil
05-23-2006 12:58 PM
Hi Senthil,
Inside text element, we print the variables.
Variables actually gets printed in the form.
if the variable contains value the variable gets printed on script. if not, then variable not gets printed.
hope this helps.
05-23-2006 12:59 PM
If its empty usually it will not have a entry in STXH table.
Or you can call READ_TEXT function and count the lines of the table using DESCRIBE statement.
regards,
Ravi
Note : Please mark all the helpful answers
05-23-2006 1:00 PM