#1 2010-12-12 20:22:23

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

Load and save many files

Hi,

Can I save my files inside the some property of my TSQLRecord then load them? How?

thanks

Offline

#2 2010-12-13 08:00:34

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,655
Website

Re: Load and save many files

Use a TSQLRawBlob property type.
Note that these properties are not retrieved by default, to save connection bandwidth.
You'll have to use RetrieveBlob() and such to get the content.

See the MainDemo in the Samples folder. It stores files in the database, in plain format or encrypted format.
See http://synopse.info/forum/viewtopic.php?pid=941#p941

As a reference, search for TSQLRawBlob in the SQLite3Commons unit.

Offline

Board footer

Powered by FluxBB