I have a form where the code-sheet sets a filter for the RecordSource of a sub-form. Below is a screen-shot of the code when debug is entered. I hovered over the variable that contains the filter expression. (cmboRetreats_Click() is called by the OnOpen event code, as opposed to a click action.)
And, a screen-shot of the error:
The error DOES NOT suggest a problem with the sub-form's RecordSource query, which I ran directly without errors.
The offending statement: "Me.TransAcctSubform.Form.Filter = SubFrmFilter" is making reference to the sub-form's container control, "TransAcctSubform". I'm clueless at this point what is giving rise to the error.
Any ideas?
Thanks,
Bill