Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to trigger different page formats dynamically in smartforms

Former Member
0 Likes
864

Hi ,

I have a requirement in smartform,want to trigger different page formants based on country code for ex if country code is ZA12 then pageformant should be DINA4 else page format should be LETTER.

Rgrds

Vasumathi

Hi ,

I have a requirement in smartform,want to trigger different page formants based on country code for ex if country code is ZA12 then pageformant should be DINA4 else page format should be LETTER.

Rgrds

Vasumathi

5 REPLIES 5
Read only

Former Member
0 Likes
808

Hi,

According to me, you have to create 2 smartforms, one in DINA4 and other in LETTER format.

In your driver program, you have to maintain condtion depending on country code.

if country code = 'ZA12'.

call fm <--- DINA4 format

else.

call fm <--- LETTER format

endif.

Regards,

Naveen

Read only

Former Member
0 Likes
808

Hi:

You have two ways

- either you can do by creating the 2 differents smartform and these would be called conditionally in driver

program

- or in a smartform, based on the country code- the different page format can be maintained.

Regards

Shashi

Read only

0 Likes
808

Hi Shashi,

how to maintain diff page format in smartform?

Edited by: komma vasumathi on Apr 27, 2009 11:53 AM

Read only

0 Likes
808

Hi:

You have to define like

suppose, you have to print the customer address

you'll have to create 2 windows and put the conditions in the windows - if it would get executed when the condition matches.

Regards

Shashi

Read only

Former Member
0 Likes
808

I don't think this is possible in single smartform.

You will need to define 2 smartforms.

Regards,

Mohaiyuddin