10-04-2007 11:59 AM
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
10-04-2007 12:02 PM
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
10-04-2007 12:16 PM
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.