[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

MSSQL 2005 and writing to blobs

Posted on 2006-11-10
2
Medium Priority
?
147 Views
Last Modified: 2012-05-05
Hi,

I have an app I wrote in D2005  that uses an MSSQL 2005 server for the backend. The column I'm trying to save data to as a blob is a varbinary column.

I'm taking an open file in an editor saving it to a memory stream and then attempting to write it to a blob. Everything is fine until I get to here

tblobfield(tb_org_mast.FieldByName('org_dat')).LoadFromStream(ms);

Then I get an error that says the field is not blob.

What's wrong?

Thanks,
Greg
0
Comment
Question by:Mrgregoman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
mokule earned 2000 total points
ID: 17921399
Hi,
define image column not varbinary
0
 

Author Comment

by:Mrgregoman
ID: 17929995
OK, that worked. Why does Varbinary not work?
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

656 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