I want to open a Form and pass a property to it.
However there's code in the Form_Load event that needs that property.
So I have renamed Form_Load event "Activate" and use this
It works as hoped but is it correct/right ?
Thanks
However there's code in the Form_Load event that needs that property.
So I have renamed Form_Load event "Activate" and use this
Code:
DoCmd.OpenForm "MyForm"
Form_MyForm.MyProperty = "Test"
Form_MyForm.Activate
Thanks