Revising Subform's Record Source

G

Guest

I have written a macro in an attempt to revise the record source of a
subform. I have an SQL statement that returns what I want, but the line I
have to revise the subform keeps pulling up the error screen with the words
"Object doesn't support this property and method". Any suggestions?

Forms.frmMain.frmSub.RecordSource = strSQL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top