T
TimWillDoIt
Hello all. I can't believe how helpful this forum has been to me in the
short time I've been expanding my horizon into VBA, both in asking a
questions and just reading all the posts and learning things that MIGHT apply
at some point. Thank you.
I've created a form that will serve as the primary form and I've created
other forms that will open when I want to perform a calculation or manipulate
some data. I don't want to make all my declarations every time I open a form
or run an Event Procedure. I've REM'd out all the DIM and SET statements in
the "child" forms and pasted them in the Open event of the main form.
It all seems to work...until I reference one of the Recordset objects in the
"child" form. The message tells me that an object is needed, which means to
me that the Recordset object I've declared in my main form didn't carry to my
child form.
Is there something I need to do to link the forms? Or to pass the
information from one form to another? Thanks.
short time I've been expanding my horizon into VBA, both in asking a
questions and just reading all the posts and learning things that MIGHT apply
at some point. Thank you.
I've created a form that will serve as the primary form and I've created
other forms that will open when I want to perform a calculation or manipulate
some data. I don't want to make all my declarations every time I open a form
or run an Event Procedure. I've REM'd out all the DIM and SET statements in
the "child" forms and pasted them in the Open event of the main form.
It all seems to work...until I reference one of the Recordset objects in the
"child" form. The message tells me that an object is needed, which means to
me that the Recordset object I've declared in my main form didn't carry to my
child form.
Is there something I need to do to link the forms? Or to pass the
information from one form to another? Thanks.