Hi All, I am having issues trying to filter a recordset. I have the first recordset that gives me a result for “RScoloumdetail(1)” and that value I am trying to use to filter the second query to only return results matching the result of “RScoloumdetail(1)”
I have the “RScoloumdetail(1)” returning the correct result of “MT” and I am trying to use this to filter a query called [Qry Email Attachments] and where the field value [RA] is equal to RScoloumdetail(1)")
This is the code and the error I get
Set coldetail = dbsCheck.OpenRecordset("Select [Qry Email Attachments] where [RA]= RScoloumdetail(1)")
Any help would be greatly appreciated.