cancel
Showing results for 
Search instead for 
Did you mean: 

go next page forcefully

Former Member
0 Kudos

Hi

I have created two pages in smartforms .on the first page there are sapce for only 5 records.when there are more then 5 records it is going to second page but when records are less then 5 second page is not displaying.....but i want second page also when records are less then 5.please suggest me what can i do....

thankx in advance...

Accepted Solutions (0)

Answers (2)

Answers (2)

sharadendu_agrawal
Active Participant
0 Kudos

U must have devoted a main window for printing the item texts. So after the main window u can write a command that calls the next page to get printed forcefully but u should have some data to be printed on the next page.

Reward if helpful.

Cheers

Sharadendu

Former Member
0 Kudos

First Get the Number records in your internal table using describe command.

if you have more than 5 records in your internal table

flag = space

else

flag = 'X'.

when you see flag = X

then use new page command after printing few records in your Smart form