I have a subform control in my main form. The source object is assigned to this subform control on the fly. The source object is a separate form in my database. I like to assign a record set to the record source property of my separate form.
I used this command"
Forms![ISubForm].RecordSource = "Objrst"
Where ISubForm is the separate form mentioned above and Objrst is a recordset object that I create on the fly using SubProcedure.
The above syntax doesn't seem to work. Could you please tell me how to fix this. I am pretty new at this whole VBA/Access thing. Thanks
Jay
I used this command"
Forms![ISubForm].RecordSource = "Objrst"
Where ISubForm is the separate form mentioned above and Objrst is a recordset object that I create on the fly using SubProcedure.
The above syntax doesn't seem to work. Could you please tell me how to fix this. I am pretty new at this whole VBA/Access thing. Thanks
Jay