cancel
Showing results for 
Search instead for 
Did you mean: 

condition for page in smartforms

Former Member
0 Kudos

How do we print cover page in smartforms based on some conditions. I have a smartform for which i need to include a new cover page as first page if some conditions are satisfied. If the condition is satisfied i need to print that cover page orelse i dont have to print the cover page. How do we give condition for a page. can anything be done at print pgm level.

Thanks in Advance

Kamal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hey,

Create two pages as per your requirement.

In the global defintion > initialization tab>

if w_page = 1.

control_parameters-startpage = '%PAGE1'.

else.

control_parameters-startpage = '%PAGE2'.

ENDIF.

Regards,

Midhun Abraham

Former Member
0 Kudos

Thanks Midhun.

Edited by: kamal kumar on Oct 7, 2008 8:02 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

hey,

Place your condition in main window of your smartform, it may help you to solve your problem.

Regards,

Midhun Abraham