G
Guest
Win Xp. Access 2003.
Normally I open a form and when it loads (in Load Event) i made some changes
via openargs:
(Docmd. Openform "frmAny",,,,,,"New")
If I open the form declaring a variable ...
Private frmFormInst1 as Form frmAny
Set frmFormInst1= New frmAny
With frmFromInst1
.Visible=true
end with
... I could not pass the openargs argument, becouse in the Set instruccion
the load event executes...
How can i do it?
Thanks
Normally I open a form and when it loads (in Load Event) i made some changes
via openargs:
(Docmd. Openform "frmAny",,,,,,"New")
If I open the form declaring a variable ...
Private frmFormInst1 as Form frmAny
Set frmFormInst1= New frmAny
With frmFromInst1
.Visible=true
end with
... I could not pass the openargs argument, becouse in the Set instruccion
the load event executes...
How can i do it?
Thanks