B
BLouie
I exported a list from Sharepoint into Access 2007. Using DAO I want to
programatically add attachments. I am using VB, specifically the
LoadFromFile method of the recordset field property. I keep getting an error
when I step through the LoadFromFile line (...invalid argument...).
I tried a simple test by creating a new table in access 2007 with an ID
(autonumber) field and an attacment (attachment) field. LoadFromFile works
fine.
The error only seems to occur when I use LoadFromFile on the the child
attachment recordset of the attachment field when it is linked to Sharepoint.
The code I used as a base is found in MSDN @
http://msdn2.microsoft.com/en-us/library/bb258184.aspx
Any suggestions would be greatly appreciated.
programatically add attachments. I am using VB, specifically the
LoadFromFile method of the recordset field property. I keep getting an error
when I step through the LoadFromFile line (...invalid argument...).
I tried a simple test by creating a new table in access 2007 with an ID
(autonumber) field and an attacment (attachment) field. LoadFromFile works
fine.
The error only seems to occur when I use LoadFromFile on the the child
attachment recordset of the attachment field when it is linked to Sharepoint.
The code I used as a base is found in MSDN @
http://msdn2.microsoft.com/en-us/library/bb258184.aspx
Any suggestions would be greatly appreciated.