Application Development 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: 

Page break in smartforms

Former Member
0 Kudos

Hi All,

      I  have created a smartform and in page 4 i have created a template. The problem is,  there are more no of records and im able to fetch only upto the page limit. I also added page break and run time error is being thrown. if the no of records are more it should go to the next page.

How can i add second page and populate the remaining records.

Thanks in advance

Rgds,

Sam.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Dear All,

      After the struggle i have solved the problem on my own .

Thank you all for your suggestions and help.

Rgds,

Sam.

13 REPLIES 13

Former Member
0 Kudos

Hi Samuel,

Please check whether you are using the table in main window, if you use main window then if the record exceeds it will create the subsequent page.

Regards,

Ramya R

0 Kudos

Hi Ramya,

      I have not given any page protection.

Is it possible to give page break in template in main window?

Rgds,

Sam.

0 Kudos

Hello Samuel,

If the template is inside the main window, than you can definitely use Page breaks.

Cheers!

Abhinab.

0 Kudos

Hi Abhi,

  The template is inside the main window only, but still it showa run time error.

Rgds,

Sam.

0 Kudos

And what does the runtime error says?

0 Kudos

it says the main width space is not enough

0 Kudos

Just a small question why are using template inside main window if your data or number of lines going to vary. A simple solution is use tables it will automatically adjust the size even if rows exceed.

Thanks

Nabheet

0 Kudos

Hi Nabheet,

           As said i tried that also but still run time error occurs.

Rgds,

Sam.

0 Kudos

You width of the template is more than the Width of the main window.

Allign the widths of main window and template in the output options, and you will not have this dump anymore.

Cheers!

Abhinab.

0 Kudos

Hi

Can you please paste the dump what does it say..?

thanks

Nabheet

former_member209119
Active Participant
0 Kudos

Hi,

Set the 'Next Page' property of Page4 as 'Page4'.

Next Page = Page4

0 Kudos

Hi,

    I have already given the required options.

Former Member
0 Kudos

Dear All,

      After the struggle i have solved the problem on my own .

Thank you all for your suggestions and help.

Rgds,

Sam.