Solved

SQL String: trying to create OLE Object for Access Database

Posted on 2002-04-01
1
269 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
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…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

706 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

20 Experts available now in Live!

Get 1:1 Help Now