on 05-14-2007 10:09 AM
Hi All,
This is urgent..
I have to print the lines in main window. In my script..i have defined 2 pages. On the 1st page the data appears in main window..and if the no. of lines are more then the data should get printed on the next page in the main window. Now the main window size on the 2nd page is different, so i increased the length of the vertical lines in the main window of 2nd page. But this also makes the same changes in the content of the 1st page main window.
How do i do this???
Plz help soon..
Niyati
Try to create one more window similar to main window and place it on main window. Now you can draw all the line on this window. You can always read the page numbers.
Ex:
If page 1
draw 15 vertical lines in <new window>
Else.
draw 20 Lines in new window.
I hope this will solve your issue.
Reward points to all useful answes.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Niyati,
for the horizontal lines you should have written like...
/: BOX XPOS '13' CM YPOS &v_ypos& WIDTH 0 TW HEIGHT 1 CM FRAME 10 TW
in your program/script you should have incremented the variable of ypos..
put another condition saying..
if &v_ypos& = 20 and &page& = 1.
&v_ypos& = 1.
elseif &v_ypos& = 25.
&v_ypos& = 1.
endif.
hope this helps..
Regards,
Vidya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.