Solved

Microsoft Word OLE object in a SQL 2008 database table.

Posted on 2008-10-20
5
381 Views
Last Modified: 2012-05-05
After upsizing Access to SQL2008. My OLE field data type converted to varbinary(max). I have in the OLE field MS Word doc text. This text displays okay in a form and prints ok in a report. However the text cannot be edited and a new MS Word objected can't be inserted in a new record. When I try I get the error message. Thank you in advance for your help!!

0
Comment
Question by:dongatlin
  • 3
  • 2
5 Comments
 
LVL 51

Expert Comment

by:Mark Wills
ID: 22765205
How are you trying to add that new data ? What is the user interface, and how are you connecting to the database ?
0
 

Author Comment

by:dongatlin
ID: 22770895
I have an ODBC link from Access 2007 to a SQL database backend.
0
 
LVL 51

Accepted Solution

by:
Mark Wills earned 500 total points
ID: 22772977
Part of the problem can be the datatypes being used... There are some limitations :

See : http://msdn.microsoft.com/en-us/library/bb177899.aspx
And : http://msdn.microsoft.com/en-us/library/bb208866.aspx

Should be using the IMAGE datatype I think, and/or not have bounded fields, as much as copy the document to a "network" friendly place and then (if really needed) call a stored proced to do the update which can update the inidividual columns and insert the document.

But first do a simple test using the IMAGE datatype.
0
 
LVL 51

Expert Comment

by:Mark Wills
ID: 22773032
Oh, and make sure you are using the latest drivers... so double check that connection string, and the driver options...
0
 

Author Closing Comment

by:dongatlin
ID: 31508017
Thanks for the tip. I'm new to SQL and thought the 'image' data type was obsolete in SQL2008. The error cleared up after changing the data type to 'image'.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

707 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

12 Experts available now in Live!

Get 1:1 Help Now