Hello, i'm new to
VB and these forums. I am using Access 2000
I have been working on a project that requires me to open a PARENT form dynamically using CreateForm, and then create CHILD foms using a separate function and then finally in the PARENT form's Form_Open event, I inserted the code:
Me.Child0.SourceObject = "Form2"
to explain: Child0 is a SubForm control in the PARENT form ("Form1")
"Form2" is the name of the CHILD form that has been created dynamically.
But something goes wrong and I get the error:
"The Microsoft Jet database engine could not find the object '~sq_cForm1~sq_cChild0'. Make sure the object exists and that you spell its name and the path name correctly."
Is it saying it cant find the PARENT form's subform (Child0)?
I cant figure out where to start searching for whats wrong. When I click Debug, it points to the code provided above.
Can anyone shed some light?
Thanks!
ÃaÃeVi£
ÃaÃeVi£