M
msumrell
The problem I have is within VBA code in Access 2007.
If you link a Sharepoint table into Access and try to add Attachments to an
Attachments field (using VBA), you will get the 3001 Error.
If you view the table in datasheet mode and use the built-in Attachment
Control to add/remove attachments to the field, everything is fine.
There are several examples on the web and MSDN on how to programmatically
add/remove attachments using DAO.Recordset2 and DAO.Field2. These examples
work fine if the complex field is created locally in Access, but does not
work if the field is linked from Sharepoint.
Is there a known reason why the internal Access Attachment Control works on
the linked Sharepoint table, but the VBA equivalent does not?
If you link a Sharepoint table into Access and try to add Attachments to an
Attachments field (using VBA), you will get the 3001 Error.
If you view the table in datasheet mode and use the built-in Attachment
Control to add/remove attachments to the field, everything is fine.
There are several examples on the web and MSDN on how to programmatically
add/remove attachments using DAO.Recordset2 and DAO.Field2. These examples
work fine if the complex field is created locally in Access, but does not
work if the field is linked from Sharepoint.
Is there a known reason why the internal Access Attachment Control works on
the linked Sharepoint table, but the VBA equivalent does not?