I am building a wizard and have an issue with one sub form. Whilst all others are about 5 fields tall this one is 15 fields.
My choices are either to resize the parent form ridiculously large for the other forms or resize the parent form on loading this subform.
I have tried the following:
This is in the Form load event of the subform, but doesn't work. I have been trying various iterations of this and can't get it to work.
Anyone got some code that works?
My choices are either to resize the parent form ridiculously large for the other forms or resize the parent form on loading this subform.
I have tried the following:
Code:
Me.Parent.Form.Section(acDetail).Height = 1.4 * Me.Parent.Form.Section(acDetail).Height
'Me.Parent.Form.Section(acDetail).Repaint
Me.Parent.Form.Repaint
Anyone got some code that works?
Comment