Draw Vertical line in the report Detail section

G

Guest

I want to draw a Vertical Line in the Report details section at about 6 Inch.

I tried to do but it effects the Detail section record, I mean each Record
line of detail section get the line repeated. If there is seven Record line
in the detail section, it takes 7 times the 6 inch line and exapands into
many pages.

My need to draw a vertical line at the LHS side of the report of about 6
inch, the same in the RHS side. BUT it should not effect the detail section
records.

Please advise

Thanks and best regards.

Irshad
 
G

Guest

You can use code in the On Page event of the report. This code will draw
lines from the top of the page down 6" on both the left and right sides.

Private Sub Report_Page()
Me.Line (0, 0)-Step(0, 1440 * 6)
Me.Line (Me.Width, 0)-Step(0, 1440 * 6)
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top