on 12-27-2006 1:12 PM
Hi friends,
In Smartforms, how to insert the logos in such a way that if form
is seen in india, different logo should appear and if the form is for US, different logo should be appeared and so .on.
How to do the code for this ??
Best anwser wil be rewarded
Badri
/: case country .
/: when 'in'.
/: include <logo> object text ID st.
/: when 'us'.
/: include <logo> object text ID st.
/: endcase.
cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Create a GRAPHIC Object
2. In the Graphic name, click on the button at the end of the field and now you can specify the name of the field in which the name of the graphic will be available at runtime.
3. Create a Program lines object before the Graphic object
4. Write code, to get the graphic name into the variable, depending on the country name.
IF country = 'IN'.
w_graphic = 'xxx'.
elseif coutry = 'US'.
w_graphic = 'yyyy'
endif.
Regards,
Ravi
Note - Please mark all the helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.