Vertical Line Issues

  • Thread starter Thread starter Craig
  • Start date Start date
C

Craig

I'm using Access 2003. I have to draw vertical lines to separate fields in a
report. I'm using the following code in the detail print event:

Me.Line (10.875 * 1440, 0)-Step(0, 20 * 1440)

The "10.875" represents how far the line begins from the left side of the
page. It seems to work fine, with one exception: The line doesn't extend
all the way down the detail section on a number of the pages (there are over
300 pages in this one report).

I have a horizontal line in the page footer. It is as far up *snug* against
the top of the section, so I am expecting that the vertical line being drawn
with the print event will *meet up* and connect with the horizontal line in
the page section. For the most part this is so - but not so on a good number
of pages.

Does this make sense? I sure hope so...essentially I'd like the lines to
meet up like this:

______|______

Thanks for the help.
 
I would move the code to the On Page event if you want to print a line from
near the top to the bottom.
 
Great, thanks. It took a littler tinkering with the numbers but I got it to
work fine using the On Page Event.
 
Back
Top