This really shouldn’t be hard, I just can’t figure out how to do it.
I am making a proposal report that needs to have a border around it. The problem is to get the vertical lines on the side. I can’t figure out how to get a line to grow and shrink based on the height of the detail section.
I have used Crystal reports and sure wish Microsoft would learn a few things in regards to MS Access report writing!
I am very comfortable with VBA so have no fears there.
You were right, this isn’t so hard. The trick is to use 2 variables, top and bottom. In the PageHeader_Format event you set top to
Me.Height, and in the PageFooter_Format event you set the bottom toMe.Top - correction, where correction is a fixed amound you use to fix the right length. I´m not sure where this amount comes from, you just have to try a little bit.In the Report_Page event you can then draw your line from top to bottom.