Skip to Content
0
Former Member
May 17, 2010 at 02:16 PM

How to trigger Second and third page in smartform

1204 Views

Hi Gurus,

I am facing a problem , in my smartform I have 3 pages. 1st page consist of main window, second and third page consist of secondary window with different layout. I have 4 condition on basis of which I have to trigger second and third window.

Condition 1 = No printing of both the pages. for this passing indicator to form 'A'

Condition 2 = Printing of Second Page Only. for this passing indicator to form 'B'

Condition 3 = Printing Of Third page Only. for this passing indicator to form 'C'

Condition 4 = Both second & third Pages to be printed. for this passing indicator to form 'D'

In all above cases first page always be printed.

In First page after main window I have put two commands

Command 1 - Go to next page -> Page 2

under output condition

indicator = 'B'

or

indicator = 'D'.

Command 2 - Go to next page -> Page 3

under output condition

indicator = C'

or

indicator = 'D'.

For cases A, B & C its working Fine.

But if I pass D (Both Pages ) its shows error "Page break is allowed only in the main window"

Please help me.