J

Why not get trewndy and use XML, could you ADO -> XML

HTH
Neven


----- Original Message -----
From: Jeremy Coulter <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Tuesday, 20 March 2001 07:56
Subject: [DUG]: Storing a file


> 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
>

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to