on 10-23-2007 3:46 AM
Hi All,
I have developed a smart form(a letter) which has about 5 address fields in the following order.
&address_line1&
&addressline2&
&city& , &state& &zip&
&addressline2& is not mandatory. When this parameter is empty then i get the output like this
1234 wood creek street
Herndon, VA 20171
I do not want the gap . What am i supposed to do. I want something like If addressline2 is null then delete line .
Thanksin advance
for all the 3 lines create 3 text elements...
for address2 give condiotion as
if address2 NE ''.
print address2
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
If its a text node separatly for the Address line 2 then there would be condition tab at where you can check whether value is initial.
If its template then you create a alternative with conition address line2 is intial
if yes then write all variables excluding address line 2.
if no write all vairables including address line 2.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check the paragraph format in your smartstyle and see whether there is any options for not displaying blank lines... we have an option in sapscript.. No blank lines, currently I couldn't remember for SF.
or use conditions...to remove blank lines..
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
U might be using template to display this address, to remove the gap dynamically is not possible. U can use alternative in such a way that...
If &addressline2& NE ' '.
&address_line1&
&addressline2&
&city& , &state& &zip&
ELSE.
&address_line1&
&city& , &state& &zip&
Reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi madhu,
try like this,
&address_line1&
<b>IF &addressline2& EQ SPACE.</b>
&city& , &state& &zip&
ELSE
&addressline2&
&city& , &state& &zip&
ENDIF
Reward me if useful.....
Harimanjesh AN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
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.