on 01-30-2007 4:27 PM
Hello friends,
I have a smartform window in which I display the following:
Delivery Address:
&zvbdka-name1_we&
&zvbdka-name2_we&
&zvbdka-stree_we&
But not every time there is a "name2". In the case where there isn't, I don't want to display an empty line, but want to go directly from "name1" to "street".
Is there an easy way to do that? If not, can someone explain to me the complicated way?
Thanks,
Micol
HI Micol,
<b>PR &zvbdka-name1_we&
/: IF NOT &ZVBDKA-NAME2_WE& IS INITIAL
PR &zvbdka-name2_we&
/: ENDIF.
PR &zvbdka-stree_we&</b>
where PR is ur paragraph format.
Reagrds
SAB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Micol,
You said it, there is no simple way of achieving this.
You need to create different texts in smartforms and place conditions to check if the field is not initial, and depending on that you will display the values.
Another way would be to passed these three fields to an internal table. In smartforms, you just need to loop at this internal table into ONLY 1 ROW, and display the values. I think this one would be easier.
Cheers,
Zaheed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just check :
if &zvbdka-name2_we& is not initial.
&zvbdka-name2_we&
endif.
Reward points if this Helps.
Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.