I've got an invoice with columns. After printing out all the OrderID and details, I want the columns lines to continue to the bottom of the page. Is there anyway to fill the rest of the page, depending on the size of the detail section?
You could do this a few ways. You can always draw line in the Print event using the Line method. Since you already have vertical lines that you want to extend, it's easier to just make them longer to match the section height.
In the Format event for the Detail, at the very end of the code, just before the End Sub, add:
Thanks for the reply jiqjaq, but there still seems to be one problem. The Me.Section(acDetail).Height seems to be a static height (presumably based on the report design height), but when the report is generated, that height actually varies. Is there anyway to find out the varying height?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.