Board index » delphi » Store binary information in ACCESS 97/2000 database

Store binary information in ACCESS 97/2000 database

Is there a way to store a binary information within MSAccess97/2000
database? I know that within Access I can use the OLE Object field type
because Access knows internally how to treat this kind of data, but the idea
is that I want to store this pictures as they appear within the original
file (binary storage) because I need to read/write that "blob field" with
Delphi application. I want to store these pictures because I will use them
later within dinamic HTML pages. Any idea?
 

Re:Store binary information in ACCESS 97/2000 database


I've found the solution for this issue: instead using
Stream:=CreateBloabField(Field,bmReadWrite) I've used
myTable.Fields[xxx].asString:=Value, where Value was created by reading each
char of the source file (use F:file of char, for example).

Quote
"Eugen Mihailescu" <eugen.mihaile...@em-quicksoft.com> wrote in message

news:3a64c0df_1@dnews...
Quote
> Is there a way to store a binary information within MSAccess97/2000
> database? I know that within Access I can use the OLE Object field type
> because Access knows internally how to treat this kind of data, but the
idea
> is that I want to store this pictures as they appear within the original
> file (binary storage) because I need to read/write that "blob field" with
> Delphi application. I want to store these pictures because I will use them
> later within dinamic HTML pages. Any idea?

Other Threads