How To Use ADOX to Create an OLE Object Field in an Access Database (296173)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- ActiveX Data Objects (ADO) 2.1
- ActiveX Data Objects (ADO) 2.1 SP1
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
- ActiveX Data Objects (ADO) 2.6
- ActiveX Data Objects (ADO) 2.7
This article was previously published under Q296173 SUMMARY
This article describes how to use ActiveX Data Objects Extensibility (ADOX) to create an OLE Object field in a Microsoft Access Database (.mdb file). You must use the adLongVarBinary constant to create the field. You do not have to specify a field size in the field definition.
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
266302 PRB: ADOX Error -2147217859 "Type Is Invalid" When You Append a Table to a Catalog
For more information, see the "Defining and Retrieving a Database's Schema" section in the following MSDN article:
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbDatabase kbhowto KB296173 |
---|
|