Sub-forms expand based on records

miacino

Registered User.
Local time
Today, 03:41
Joined
Jun 5, 2007
Messages
106
I have a sub-form which I'd like to "expand" based on the number of records. I know grow/shrink is not used for something like this.

I'm not a proficient coder, but I tried this:
Me.frm_subAssetEdit.Height = Me.Section(0).Height
I put this code in the On Resize property in the sub-form, but when I open the main form, the sub-form is blank.

Any thoughts?
 

Users who are viewing this thread

Back
Top Bottom