Save attachment to hard drive
问题 I am trying to code a simple task: retrieving an attachment from Access (2013) database and saving it to disk. At the moment I would like the code to get a first record from recordset and save the attachment to C:\maptest.pdf It shows error 3265: Item not found in this collection (yet every record in the database has an attachment). Does anyone have an idea what I am doing wrong? Private Sub CommandButton4_Click() Dim appAcc As New Access.Application Dim rst As DAO.Recordset2 Dim rsA As DAO