Line Method - Left and Right Borders in Detail Section

A

AccessReportWriter

I have used the Line Method to successfully draw lines in Group Header and
Detail Sections of a Report that Grow or Shrink along with the sections that
I have placed the code in. However, is there a way to repeat the same code
in a section so that I can get a line on the left margin and right margin of
a report?
 
D

Duane Hookom

If I understand correctly, you can use the Line method in the On Page event
of the report to draw lines across sections.
 
A

AccessReportWriter

If I use this alternative that I found which seems to work well -- how can I
specify the size (font) of the lines that are being drawn?
 
A

AccessReportWriter

If I use the following alternative that I found - detailed below - how can I
specify to font size of the line?

Me.ScaleMode = 1
Me.ForeColor = 0

'Repeat the following line of code for each vertical line
'1 * 1440 represents 1 inch.
Me.Line (0 * 1440, 0)-(0 * 1440, 14400)
Me.Line (1 * 1440, 0)-(1 * 1440, 14400)
Me.Line (1.9 * 1440, 0)-(1.9 * 1440, 14400)
Me.Line (5.5 * 1440, 0)-(5.5 * 1440, 14400)
 
D

Duane Hookom

A line doesn't have a font size. You can set the DrawWidth (?) property of
the report.

Me.DrawWidth = 10 'I think this is the property
 

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