Board index » cppbuilder » Access Database holding binary data using OLE / BLOB
Andy Blackmore
![]() CBuilder Developer |
Andy Blackmore
![]() CBuilder Developer |
Access Database holding binary data using OLE / BLOB2005-08-19 11:28:37 PM cppbuilder79 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 |
Viatcheslav V. Vassiliev
![]() CBuilder Developer |
2005-08-21 09:52:40 PM
Re:Access Database holding binary data using OLE / BLOB
Cast to TBlobField and use TBlobField::LoadFromStream() and
TBlobStream::SaveToStream(). //------------------------------------------ Regards, Vassiliev V. V. www.managed-vcl.com - using .Net objects in Delphi for Win32 + ADO.Net www.oledbdirect.com - The fastest way to access MS SQL Server, MS Jet (Access) and Interbase (through OLEDB) "Andy Blackmore" < XXXX@XXXXX.COM >сообщи?сообщила ?новостях следующе? news: XXXX@XXXXX.COM ... QuoteHello |