on 11-03-2009 5:53 AM
Hi,
I am working on Smartform. I facing problem in printing two different page formats.
In form Lastpage is Fixed .If data contains in only in page1 then it will display like Page1/Last.
If data exceeds the mainwindow then it will display like Page1 / page2 / Last .
I am using Command statement after Mainwindow But it is giving Last Page when data contains in Page2 If it contains in Page1 then it is not printing .
Example : Page1 / Last page.
page1 / Page2 / Lastpage.
Page1 nextpage is Page2.
Page2 Nextpage is Last .
Regards
Nandan.N
Hello,
Change the next page of page2.
the sequence should like below,
page == next page
page1 == page2
page2 == page2
lastpage == lastpage
Now give the lastpage in the command statement and put the condition after the main page.
Hope this helps you
Regards,
SachinkumarMehta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For that do the following steps.
1) Keep the next page of page1 as PAGE2.
2) Keep the next page of PAGE2 as PAGE2.
3) Keep a counter(lcount) in the table from which you are printing the data and keep incrementing it for every loop pass.
4) Before looping the table use describe table statement to get the number of records present in that internal table and store in another variable(rcount).
5) Then right click on the table footer and there create a COMMAND and there in the condiitons give as
rcount = lcount.
so because of that the data will print properly and when once all the data is over the command will be triggered and it will automatically go to the last page.
Regards
satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.