|
Question : Expanding Fields in MS Access Report
|
|
I have a few memo fields on my report that I have enclosed with a rectangle box for a border. I am having problems making the border around my fields expand with the fields. I have tried grouping the border with the field, but only the field grows and not the border. Is there anyway to make a border grow with a field that is set to grow and shrink?
Thanks,
Nick
|
|
Answer : Expanding Fields in MS Access Report
|
|
You can resize and move things around, but like TextReport says, it can get complicated. In the On_Format event of the report section, you can set the Top, Height, Width, etc., of the border so that it will be the proper size and distance from your controls. Something like this:
Me.BorderBox.Width = Me.Control1.Left + Me.Control1.Width + 0.10
Obviously it can get a lot more complicated when you involve multiple controls and vertical resizing as well. I've done this for some reports before, and it can be a pain, but it's pretty neat when you get it to work the way you want :)
|
|
|
|