on 05-22-2007 12:04 PM
Hi,
I am printing the adreess information in a window . but when there is no addreess data then no blank space should be printed.Does anyone have any options?
In other words assume I have the following:
&LINE1&
&LINE2&
&LINE3&
&LINE4&
where &LINE1& = 'A',
&LINE2& = 'B',
&LINE3& = 'C',
&LINE4& = 'D',
If &LINE3& does not contain any values I don't want to see:
A
B
<blank>
D
I want to see:
A
B
D
Correct answers or helpful suggestions will be rewarded.
Hi Neha,
working on something similar, try
IF &LINE3& NE ''.
&LINE3&
ENDIF.
liam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neha,
You can do validation by providing contion
IF NOT &LINE1& initial.
&LINE1&.
ENDIF.
OR
In Smartforms you can use address text instead of providing all the variables. There you need to pass only address no & all the address will be prinited & all the blank lines will be ignored automatically.
Ashven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi friend,
Try to establish an if-else condition such that if record exists for the line then it will display that line otherwise it will display blank line and if u want not to display blank line and show next line establish a condition such that it will not display that line instead display next line.
Regards,
Ameet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
better do one thing,
create diff text node for each line
i mean
line1 in text node 1
line 2 in text node 2.. etc..
then goto window -> create -> flow logic -> alternative
then u got condition node in that general attributes
give your condition for example field name not equal to ' '
then place your textnode in true part
so it will display only that field contain value
i am sure it will work.
thank you
regards
Murugan.B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the texts, u can specify a condition.
use command option and specify the condition for that line.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.