Hi,
I have code that dynamically resizes subforms according to records in It, and moves all controls above/below subforms.
Now I want to resize master form too, when records are added or deleted in subforms, dynamically.
What I've been trying so far is to set .InsideHeight of master form to .Top property of last control below subform (near footer of form).
Code works, but only with control's .Top property in design view. That's no use to me, since all controls are moved dynamically according to subform records, so controls move after Load_event. There are other issues with code too.
How can I make this working ?Code:Me.InsideHeight = [Combo1].Top + [Combo1].Height + 100