Forum Discussion
Tony2021
Nov 26, 2021Iron 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 t...
George_Hepworth
Nov 26, 2021Silver 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.