Ok, here is what I have. I'm new to this, but it looks like my quotes follow what you've said. Correct me if I'm wrong.
Option Compare Database
Option Explicit
Private Sub btnSearch_Click()
'Updates the record source
Me.[QryMasterDataList subform].Form.RecordSource = "SELECT * FROM...