Application Development and Automation 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: 
Read only

Page break in smartforms

Former Member
0 Likes
1,508

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
Read only

Former Member
0 Likes
1,465

Dear All,

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

Thank you all for your suggestions and help.

Rgds,

Sam.

Hello Samuel,

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

Cheers!

Abhinab.

13 REPLIES 13
Read only

Former Member
0 Likes
1,465

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

Read only

0 Likes
1,465

Hi Ramya,

      I have not given any page protection.

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

Rgds,

Sam.

Read only

0 Likes
1,465

Hello Samuel,

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

Cheers!

Abhinab.

Read only

0 Likes
1,465

Hi Abhi,

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

Rgds,

Sam.

Read only

0 Likes
1,465

And what does the runtime error says?

Read only

0 Likes
1,465

it says the main width space is not enough

Read only

0 Likes
1,465

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

Read only

0 Likes
1,465

Hi Nabheet,

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

Rgds,

Sam.

Read only

0 Likes
1,465

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.

Read only

0 Likes
1,465

Hi

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

thanks

Nabheet

Read only

Former Member
0 Likes
1,465

Hi,

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

Next Page = Page4

Read only

0 Likes
1,465

Hi,

    I have already given the required options.

Read only

Former Member
0 Likes
1,466

Dear All,

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

Thank you all for your suggestions and help.

Rgds,

Sam.