Hi -
I'm trying to set the recordsource of a subform from VBA. In Access 2002, I used syntax like this -
Me.frmsubSubname.Form.RecordSource = strSQL
This worked fine.
However, in 2003 I now get an error -
"2455: You entered an expression that has an invalid reference to the property Form/Report"
I have tried to find a list of the proper syntax for referring to subform controls and properties, but could use some assistance.
Thanks,
- g
I'm trying to set the recordsource of a subform from VBA. In Access 2002, I used syntax like this -
Me.frmsubSubname.Form.RecordSource = strSQL
This worked fine.
However, in 2003 I now get an error -
"2455: You entered an expression that has an invalid reference to the property Form/Report"
I have tried to find a list of the proper syntax for referring to subform controls and properties, but could use some assistance.
Thanks,
- g