[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQL String: trying to create OLE Object for Access Database

Posted on 2002-04-01
1
Medium Priority
?
419 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 200 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
If you’re using QODBC to update QuickBooks data from Microsoft® Access but Access is not showing the updated data, you could have set up QODBC incorrectly.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

834 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