Solved

SQL String: trying to create OLE Object for Access Database

Posted on 2002-04-01
1
276 Views
Last Modified: 2008-03-04
I am creating a form in ASP that references an Access Database.  The form is supposed to create an table with several fields including one OLE Object field that I will be storing images in.  However, I am continuely getting an error when I try to set the field type as OLE Object.  Any Suggestions:

CREATE TABLE TestTable ([ItemID] text(6) Primary Key, [Title] Text(80), [Photo] OLE Object, [Descrip] memo)

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Microsoft Access Driver] Syntax error in field definition.

/Includes/CatConnect.asp, line 9
0
Comment
Question by:BPatroch
1 Comment
 
LVL 5

Accepted Solution

by:
funke earned 50 total points
ID: 6911973
CREATE TABLE TestTable ([ItemID] text(6) Primary Key, [Title] Text(80), [Photo] OLEObject, [Descrip]
memo)


take the space out of OLE Object - see above
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now