G
Guest
I'm having a senior moment, and don't seem to be able to figure this out.
I want to open a form that has a subform and dynamically set the record
source of the subform. I don't seem to be able to pull this off for some
reason... the chunk of code I'm using is as follows:
Forms!frmMain.Form!frmSub.RecordSource = strSQL
(strSQL contains the SQL query for the record source)
Any thoughts?
- Jeff C.
I want to open a form that has a subform and dynamically set the record
source of the subform. I don't seem to be able to pull this off for some
reason... the chunk of code I'm using is as follows:
Forms!frmMain.Form!frmSub.RecordSource = strSQL
(strSQL contains the SQL query for the record source)
Any thoughts?
- Jeff C.