Hello,
I have the following code i am using to change the recordsource of a subform at run time:
Dim recordsource
Set db = CurrentDb
Set recordsource = db.OpenRecordset(??????)
Me![employee].Form.recordsource = ??????
I want to use the query named "Employee" as my recordsource, but what is the syntax for using a query?
Thanks!
I have the following code i am using to change the recordsource of a subform at run time:
Dim recordsource
Set db = CurrentDb
Set recordsource = db.OpenRecordset(??????)
Me![employee].Form.recordsource = ??????
I want to use the query named "Employee" as my recordsource, but what is the syntax for using a query?
Thanks!