cancel
Showing results for 
Search instead for 
Did you mean: 

Depending on the country,the Logo should be different....smartform

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

/: case country .

/: when 'in'.

/: include <logo> object text ID st.

/: when 'us'.

/: include <logo> object text ID st.

/: endcase.

cheers.

Former Member
0 Kudos

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