attachment-field

Using Attachment field with Classic ASP

前提是你 提交于 2019-12-24 02:56:39
问题 I am trying to use attachment datatype in Microsoft access and classical asp to access the database. I am trying to insert attachement from a classical asp form. I got an error "Cannot insert multiple values". I tried a lot online but i cannot find a best fit solution for this. Thanks for help in advance. 回答1: AFAIK, support for the new ACCDB attachment field type has not been included in the ADO object model. You will need to find a different method to interact with your Access database. I

Handling fields of Attachment type in MS Access using ADO

不羁岁月 提交于 2019-12-04 04:39:19
问题 I have some fields in my database that will need to store images ( bitmap, JPG or PNG ) and PDF ( or Excel/RTF/TXT ) files. Browsing through Internet, I have learned that MS Access 2007 ( and newer versions ) have a field of type Attachment that can suit my needs. However, I am filling database via GUI ( made in C++ and WinAPI ), using ADO . I was not able to find an example of inserting/loading such data into/from database using ADO . Searching here through some similar questions ( VB,

Handling fields of Attachment type in MS Access using ADO

孤街浪徒 提交于 2019-12-01 23:07:34
I have some fields in my database that will need to store images ( bitmap, JPG or PNG ) and PDF ( or Excel/RTF/TXT ) files. Browsing through Internet, I have learned that MS Access 2007 ( and newer versions ) have a field of type Attachment that can suit my needs. However, I am filling database via GUI ( made in C++ and WinAPI ), using ADO . I was not able to find an example of inserting/loading such data into/from database using ADO . Searching here through some similar questions ( VB, Delphi, Python...) I have found out that my approach might not be the best, but seems possible to do. Being