M
Mangesh
Hi,
I created a form (Form1), and a subform within (Child85) i.e. its an
unbound subform. I then created a button on the form and put the
following code for the button:
sql1 = "Select * from MY_Table"
Form_Form1.Child85.Form.RecordSource = sql1
Form_Form1.Child85.Requery
However, when I click the button, I get the following error:
Run time error 2467
The expression you entered refers to an object that is colsed or
doesn't exist
What am I doing wrong? I checked a lot of threads but am not able to
get a solution for my problem.
- Mangesh
I created a form (Form1), and a subform within (Child85) i.e. its an
unbound subform. I then created a button on the form and put the
following code for the button:
sql1 = "Select * from MY_Table"
Form_Form1.Child85.Form.RecordSource = sql1
Form_Form1.Child85.Requery
However, when I click the button, I get the following error:
Run time error 2467
The expression you entered refers to an object that is colsed or
doesn't exist
What am I doing wrong? I checked a lot of threads but am not able to
get a solution for my problem.
- Mangesh