I would like to insert an attachment object into a table using a form. I have created a table with a field type attachment. But when i am inserting data into table , error is coming.
The error is:
Runtime error: -2147217887
Cannot perform this operation.
Code:
Private Sub cmd_add_save_Click() Dim cmd As ADODB.Command, rs As ADODB.Recordset Set cmd = New ADODB.Command
Leave a comment: