Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread How to Empty a blob!
Tue, Mar 14 2006 6:25 PMPermanent Link

Dale Derix
A seemingly simple task, but I can't figure out how to do this.

I simply need to delete the contents of a blob field.

How?

Thanks,

Dale Derix
Tue, Mar 14 2006 6:32 PMPermanent Link

Steve Forbes

Team Elevate Team Elevate

Hi Dale,

If you are using persistent fields you can use Clear i.e.

MyBlobField.Clear;

If using SQL, assign NULL in your SQL statement e.g.

UPDATE Messages SET Body = NULL WHERE Id = 1

HTH
--
Best regards

Steve

"Dale Derix" <dale@emerald-data.com> wrote in message
news:CE88CA82-4735-4350-97DA-4499C3DCA5D4@news.elevatesoft.com...
>A seemingly simple task, but I can't figure out how to do this.
>
> I simply need to delete the contents of a blob field.
>
> How?
>
> Thanks,
>
> Dale Derix

Wed, Mar 15 2006 6:48 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Dale,

<<A seemingly simple task, but I can't figure out how to do this.

I simply need to delete the contents of a blob field. >>

MyTable.FieldByName('MyBlobField').Clear;

should do the trick.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image