Article View: borland.public.cppbuilder.database.ado
Article #495Re: Access Database holding binary data using OLE / BLOB
From: Viatcheslav V. Vassiliev
Date: Sun, 21 Aug 2005 13:52
Date: Sun, 21 Aug 2005 13:52
25 lines
1900 bytes
1900 bytes
Cast to TBlobField and use TBlobField::LoadFromStream() and TBlobStream::SaveToStream(). //------------------------------------------ Regards, Vassiliev V. V. http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + ADO.Net http://www.oledbdirect.com - The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Andy Blackmore" <andy@number18.co.uk> �������/�������� � �������� ���������: news:4305fa95@newsgroups.borland.com... > Hello > I an trying to store a binary data string in an Access database, I can > see you need a OLE field but in not sure how to get C++ Builder to write > data to this field. I normally use FieldByName->AsString for text but this > does not work for binary data. Can anyone help or point me in the right > direction > > Thanks > > > Andy B >
Technical Details
Message-ID:
<43088713$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<4305fa95@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,d552f7986f1122d5 X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <4305fa95@newsgroups.borland.com> Subject: Re: Access Database holding binary data using OLE / BLOB Date: Sun, 21 Aug 2005 17:52:40 +0400 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 85.93.138.132 Message-ID: <43088713$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1124632339 85.93.138.132 (21 Aug 2005 06:52:19 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail