Dear readers
I have a simple function top open multiple forms.
It works but it gives me an error on the first line when I try to compile my database
Compile error: User-defined type not defined
Dim frmInstance As New Frm_Myform
DoCmd.OpenForm frmInstance
What to do to avoid the compile error
I checked the tools / reference but do not know what to select
Many thanks
Ben
I have a simple function top open multiple forms.
It works but it gives me an error on the first line when I try to compile my database
Compile error: User-defined type not defined
Dim frmInstance As New Frm_Myform
DoCmd.OpenForm frmInstance
What to do to avoid the compile error
I checked the tools / reference but do not know what to select
Many thanks
Ben