Hi all.
I have the need to
store a file (anywhere from 1 to 5kb) in a flatfile DB.
What I want to know
is, what is going to be the best way to do this.
the file will be
part of a Record Structure, i.e
Logo =
record
iType : integer;
LogoFile : ??;
end;
Can anyone suggest a
good way to do this?
One thought i had
was, to read the file size, greate a dynamic array of bytes and store the file
sixe in the record structure too, then when I read it back in, I can have
another dynamic array that is sized by the file size in the recordstructure...or
something like that.
Thanks, Jeremy
Coulter