Forum Discussion
Tony2021
Nov 26, 2021Steel Contributor
Report formatting - Rectangle doesnt grow with fields
Hello,
I have a report.
text boxes are set to can grow = yes
I also have a drawn rectangle that boxes around all the fields in the detail section.
Problem:
the rectangle doesnt grow when the Beneficiary field grows. Note that the any one of the fields could grow too and not only the beneficiary field.
How can I force the rectangle to grow in synch when fields do as well?
Not sure if there is a setting for this.
below is a screen shot of the issue I am having:
Notice the horizontal line near the IBAN field
4 Replies
Sort By
- arnel_gpSteel Contributor
without any Coding you can use the "Gridline Style" of the textbox.
change them from Transparent to Solid.
you may need to choose the Color of the Gridline also.
Hi,
Here's a KB article in the web archive that explains how to program this for lines.
Servus
Karl
*********
Access-Entwickler-Konferenz: https://www.donkarl.com/?AEK
Access DevCon: http://AccessDevCon.com
Access FAQ: https://www.donkarl.com- Tony2021Steel Contributor
Hi Karl,
thank you for the response. I looked at the code and I was able to replicate but it only draws 1 line to the far right. Do you know how to draw the second line for the left side of the rectangle?
- George_HepworthSilver Contributor
I don't think the rectangle is going to react to the content of a different control. What I think you are seeing, therefore, is expected behavior. The alternative is going to be writing VBA for the On Format event of the report section to calculate how tall the rectangle will need to be and adjust it.
Either that or replace the rectangle with a horizontal line below the last control in this section to mimic the look of the rectangle.