on 05-31-2007 3:36 AM
Hi
I need to display vertical lines (columns) in scripts. I used Box comand
/E VLINE
/: DEFINE &HIGH& = &W_LINES_ZTRT&
/:BOX YPOS 5 MM WIDTH 0 MM HEIGHT &HIGH& MM FRAME 10 TW
/:BOX XPOS 68 MM YPOS 5 MM WIDTH 0 MM HEIGHT &HIGH& MM FRAME 10 TW ........
In se38 i used
DESCRIBE TABLE ilist LINES w_lines_ztrt.
w_lines_ztrt = ( w_lines_ztrt * 35 ) + 50.
and called the element vline in loop.
LOOP AT ilist.
WRITE_FORM 'VLINE' 'MAIN'.
So now when the data is half the page the vlines are displaying too short not until the total uline. And if the data is more than two pages .... like 7 to 10 from the first page itself vlines are not displaying.
So please suggest me how to use the count while using the box command.Waiting for ur early response.....
Thank You
Hai Vidya
Even i tried with POSITION WINDOW before BOX command .
/: POSITION WINDOW
BOX YPOS 5 MM WIDTH 0 MM FRAME 10 TW
/: POSITION WINDOW
BOX XPOS 68 MM YPOS 5 MM WIDTH 0 MM FRAME 10 TW
Unable to display the vlines in second page . .. Suggest me please...
Thank U
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I guess this will help to solve your query.
Vertical line.
BOX WIDTH '4.0 ' CM HEIGHT '5.1' LN FRAME 10 TW.
Reward points to all useful answers.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Vidya
Thank u ... As per ur suggestion i tried with out height ... Even though iam able to display the lines only in first page . Vlines are not displaying in second page ...... Please reply me early.....
/:BOX XPOS 5 CM WIDTH 0 MM FRAME 10 TW ........
/:BOX XPOS 10 CM WIDTH 0 MM FRAME 10 TW ........
Thank U....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sairam,
i do not know why you are using count variable in print program,directly you can fix the vertical lines in layout,anyway see the sample code ,this will give you vertical and horizontal lines in layout and make sure that your window width and height should match.
IF &PAGE& EQ '1'.
BOX FRAME 10 TW
POSITION WINDOW
BOX WIDTH '74' CH HEIGHT '3.1' LN FRAME 10 TW I
POSITION XORIGIN '3.0' CM
BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW
POSITION XORIGIN '5.0' CM
BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW
POSITION XORIGIN '7.2' CM
BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW
POSITION XORIGIN '8.3' CM
BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW
POSITION XORIGIN '9.5' CM
BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW
POSITION XORIGIN '12.0' CM
BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW
POSITION XORIGIN '14.5' CM
BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW
POSITION XORIGIN '17.0' CM
BOX WIDTH 0 CM HEIGHT '34.5' LN FRAME 10 TW
ENDIF.
IF &PAGE& NE '1'.
POSITION WINDOW
BOX WIDTH '74' CH HEIGHT '36.5' LN FRAME 10 TW
POSITION WINDOW
BOX WIDTH '74' CH HEIGHT '3.1' LN FRAME 10 TW INTENSITY 10
POSITION XORIGIN '0.9' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '3.0' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '5.0' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '7.2' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '8.3' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '9.5' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '12.0' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '14.5' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '17.0' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
POSITION XORIGIN '19.7' CM
BOX WIDTH 0 CM HEIGHT '36.5' LN FRAME 10 TW
ENDIF
Reward Points if it is helpful
Thanks
Seshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sai,
dont' mention any height(the default height will be window)...change the xpos instead..
say if you have 3 columns and you need two vertical lines..
/:BOX XPOS 5 CM WIDTH 0 MM FRAME 10 TW ........
/:BOX XPOS 10 CM WIDTH 0 MM FRAME 10 TW ........
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 |
---|---|
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.