I have been reviewing through all the previously opened issues for the same error and have tried multiple suggestions in those but have not been able to get this to work for me. Below is a portion of the code that I am working with there the error occurs (isolated it to the Set recParent line). Can someone tell me what is wrong with the SELECT statement?
Code:
Dim db As DAO.database
Dim recParent as DAO.Recordset
Set db = CurrentDb
Set recParent = db.OpenRecordset("SELECT * FROM [PPC_Attachments] WHERE [ReqID] = " & Me.[Parent Id])