cancel
Showing results for 
Search instead for 
Did you mean: 

Skip the first page if there is no data

Former Member
0 Kudos

Hi i am having a requirement in which i m calling a new page for differnt line items and the problem is that if i having data in both pages my form is working perfectly but if there is no data in the first page then the first page should not be printed and only the second page(new page) with the data should be printed .

if any one has any idea regarding that please help me out.

Thanks

Ank

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I did not understand the requirement completely but would suggest you to use STARTPAGE field of the CONTROL_PARAMETERS structure.

We use CONTROL_PARAMETERS while calling the SMART Form from Application program as an import parameter. By default SmartForms is printed from First page. If you want it to start printing from some other page set the field 'CONTROL_PARAMETERS-STARTPAGE'.

Hope it helps.