on 08-18-2009 10:57 AM
Hi,
I have two pages defined in the script.
FIRST - next page NEXT.
NEXT - next page NEXT.
But now the requirement is to have a default 3 (default like some lines) pages at the end.
E.g. If I have 5 pages in the output, I should get 8 pages having last 3 pages as some continuous texts..
How can I do it? How to have a default page at the end?
P.S. - I have created thrid page with a window having a standard text which contains all the three pages continuous text.
I have used NEW-PAGE command also to call third page but still does not work.
Thanks,
Sachin
Edited by: Sachin Dandekar on Aug 18, 2009 3:32 PM
I have defined in basic settings also.
The thing is that
For 4 pages I am getting:
for page1 &SAPSCRIPT-FORMPAGES& is 0
for page2 &SAPSCRIPT-FORMPAGES& is 1
for page3 &SAPSCRIPT-FORMPAGES& is 2
for page4 &SAPSCRIPT-FORMPAGES& is 3
Dont know whats the reason?
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
Page counter MODE is INC only in Standard Attributes of the Last Page.
But still facing same issue. As far as I know SAPSCRIPT-FORMPAGES will store total number of pages of the output. But here for first page I am getting its value as 0 and second page is 1.
Thanks,
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sachin ,
Assume that first 5 will be displaying the data and next 3 pages will be some text - totally 8 pages of data u want as o/p .
assume that first page as page1
Second page as page2
............................... 3
................................4
............................
................................ page8
u can give in first page(page1) next page page2
page2 nextpage page3
page3 nextpage page4
page4 nextpage page5
page5 nextpage page6
page6 nextpage page7
page7 nextpage page8
page8 nextpage page1
Hope this will be helpful . Please letme know if there any queries on this .........
Regards,
Rediez.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruchi,
Thanks a lot.
I am able to print the last page at the end now.
For printing page number I am wirting in one of the window as:
Page &PAGE& Of &SAPSCRIPT-FORMPAGES(C)&.
But for 2 page output,I am getting as
Page 1 of 1
Page 2 of 1.
Ideally it should be:
Page 1 of 2
Page 2 of 2.
Pleas help.
Thanks,
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruchi,
I have created page last and calling an include which has all the texts.
ALso in NEXT page. in MAIN window, I have written NEW PAGE LAST command. But still it does not print the last page.
Can anyone help me out?
Thanks,
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
create new page called last and put next page as last.
now create an element in the script like :-
/E test
if .....
/: new-page last
endif.
now in ur driver program
call the element with write form.
Let me know in case of problem
Thanks,
Ruchi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.