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: 

Last Page is always coming blank in Smart Form

Former Member
0 Kudos

Hi Every one ,

I am new to Smart form , I am facing a problem ,

I am always getting an additional output page at last which is not required in output

Please help me to know why this blank page is coming and how to remove it.

Thanx in advance

Amit

2 REPLIES 2

Former Member
0 Kudos

Hi Amitabh,

In the initialization phase, count the number of lines of the table (g_lines).

in the table, data tab, tick event on sort end.

under the event on sort end, add a command new page.

set value for goto page to your next page.

while looping, count the number of lines (g_count).

in the conditions tab for the command, set condition to g_lines ne g_count.

Rewad if helpful.

Regards,

Harini.S

0 Kudos

Hi Harish ,

Thanks for your reply

I have already tried but it didn't work, my main problem is I've main window on my first page and in loop i'm calling new page via command. The next page for new page is "first page" as I can't set it to new page cuz theres no mainwindow on tht page hence it is giving blank page after last execution.