05-20-2013 6:50 AM
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.
05-31-2013 8:36 AM
Dear All,
After the struggle i have solved the problem on my own .
Thank you all for your suggestions and help.
Rgds,
Sam.
05-20-2013 6:58 AM
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
05-20-2013 7:13 AM
Hi Ramya,
I have not given any page protection.
Is it possible to give page break in template in main window?
Rgds,
Sam.
05-20-2013 7:39 AM
Hello Samuel,
If the template is inside the main window, than you can definitely use Page breaks.
Cheers!
Abhinab.
05-20-2013 7:47 AM
Hi Abhi,
The template is inside the main window only, but still it showa run time error.
Rgds,
Sam.
05-20-2013 7:52 AM
05-20-2013 8:12 AM
05-20-2013 8:32 AM
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
05-20-2013 8:37 AM
Hi Nabheet,
As said i tried that also but still run time error occurs.
Rgds,
Sam.
05-20-2013 8:56 AM
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.
05-20-2013 9:09 AM
05-20-2013 8:27 AM
Hi,
Set the 'Next Page' property of Page4 as 'Page4'.
Next Page = Page4
05-20-2013 8:36 AM
05-31-2013 8:36 AM
Dear All,
After the struggle i have solved the problem on my own .
Thank you all for your suggestions and help.
Rgds,
Sam.