‎2009 Jul 17 10:11 AM
Hi Experts,
I have been caught in some strange problem.
I have an smartform, where i want to print two different pages.
I do not want to print MAIN window of first page into second page.
But i am not able to print second page.
I want to print both pages irrespective of data in main window.
It goes to second page only if data is not accoodated in first page, which i do not want.
If data is not accomodated in first page then it shoud print rifst page format only.
Then last page as second page format.
I have tried it by giving page break in command line.
But it is not working.
Hope i am making you all proper understand my question.
Thanks in advance,
Pratik Vora
‎2009 Jul 17 10:15 AM
Hi pratik,
In your main window,
go to tab condtion and check Only after End of main window.
Regards,
Vijay
‎2009 Jul 17 10:21 AM
Thnaks Vijay for instant answer,
But this field is already checked.
And i am still not able to print second page correctly.
Regards,
Pratik Vora
‎2009 Jul 17 10:27 AM
i guess your requirement is :
print first page.
if first page data is not sufficient in one page, continue this in the next page.
when first page content is over. print the 2nd page of the smartform.
is this what you want?
then copy first page to another page. (in smart form)
and then keep your 2nd page.
‎2009 Jul 17 10:32 AM
Hi Soumya,
You have got the question correctly,
But i have tried out that also, its not printing 2nd page format in this case.
Thanks,
Pratik Vora
‎2009 Jul 17 10:33 AM
where(which page) have you kept your main window?
and does your 1st page contains tables?
‎2009 Jul 17 10:37 AM
My main window is in 1st page only.....
And Only main window contains table in 1st page....
Thanks soumya for taking interest in it.
Pratik Vora
‎2009 Jul 17 10:47 AM
do one thing.
1st page.
keep main window for table.
in main window only keep command to trigger LAST_PAGE(your page 2)
2nd page = copy of 1st page..
keep main window for table. -
>same as 1st page
in main window only keep command to trigger LAST_PAGE(your page 2) -->same as 1st page
3rd page: (put your 2nd page here) lets say i call it LAST_PAGE
no main windows here.
this will solve your problem i guess
‎2009 Jul 17 10:52 AM
Thats how my smartform is currently.
The 2nd page is not getting printed at this point.
Regards,
Pratik