How to draw vertical lines on a continuous report with different sized boxes?

Hey Experts,

I have a report based on a query and sometimes the text boxes are different sizes and because of this it doesn't create a neat grid. I've had a look at creating the lines on the fly using the LINE function however I was wondering if there was an easier way to achieve this.
I've attached an example.

Thanks,
Norb
ReportExample.JPG
LVL 1
Norbert2000Asked:
Who is Participating?
 
Jeffrey CoachmanConnect With a Mentor MIS LiasonCommented:
Again, this is why I stopped bothering with this effect years ago.
Bedsides all the jerking around to get it to work...

IMHO, the report looks much cleaner with just Horizontal lines separating the rows
;-)

JeffCoachman
untitled.JPG
0
 
MINDSUPERBCommented:
Just use lines then format the texbox border as transparent.

Sincerely,
Ed
0
 
Norbert2000Author Commented:
Hi Ed,

Would it be possible for you to post example code of doing just the vertical lines right and left?

Cheers,
Norb
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
MINDSUPERBCommented:
Norb,

Just hold on, some other EE might give you a sample code that you need.

I never tried to use codes when I designed and positioned a line or any other objects in a report. I do it manually with patience by shifting print preview and design view most of the time until I made it perfect.

Sincerely,

Ed

0
 
Norbert2000Author Commented:
Ed,

If I draw a line onto the report in design view won't I have the same problem? Once one of the textboxes grows the lines will no longer be the right height?

Norb.
0
 
Jeffrey CoachmanMIS LiasonCommented:
I've long since giving up on trying to make Access reports look like Excel spreadsheets (Grid style, with boxes that grow and shrink with text and texboxes.)
;-)

You can do it, ...but it may be more trouble than it's worth (IMHO) so see here:
http://www.lebans.com/PrintLines.htm

BTW, you did not state what version of Access you were using...
I believe Access 2007 and newer will do this (grow/shrink all controls in a row to the same height) by default.
(You just have to Size the controls to the grid, make the BorderStyle Solid, and but all the controls up against each other.)

JeffCoachman
0
 
Norbert2000Author Commented:
Hi Jeff,

It certainly seems a lot more trouble than it's worth, I am using 2007 but it doesn't seem to change the size of the controls automatically.

Thanks for the link, was really helpful.

Norb
0
 
Norbert2000Author Commented:
Hello Jeff.

Thanks for that I ended up not using vertical lines. Like you said they were causing too many problems ^^.

Norb
0
 
Jeffrey CoachmanMIS LiasonCommented:
;-)
0
All Courses

From novice to tech pro — start learning today.