Vertical lines in a report

Mrs.Meeker

Registered User.
Local time
Today, 15:13
Joined
Mar 28, 2003
Messages
172
I would like to separate information in my report with vertical lines. The problem is that each line of information is of varying size. Some are 1 row and some are 5 or 6. I tried drawing in a line but it only covers a portion of the larger entries. Is there some other way to accomplish this?

I'm very new at this, so I hope I've made sense!
 
Yes this is possible

on the "on print" event for the detail section of your report use the following

Me.Line (1.3 * 567, 0)-(1.3 * 567, 14400)

the first number in each bracket is the distance from the left of the report, * the number of pixels in a mm ( or could be cm this works for me and I am using metric units * by 254 if you are using inches I think). The second number in each bracket is the distance from the top of the section, so 0 to start at the top and 14400 was a number I was given to be a full A4 page, again this number works for me.

You need to use this code once for each line you want on your report.

Hope this makes sense and solves the problem.


Sue
 
Thanks for your help.
 

Users who are viewing this thread

Back
Top Bottom