[Lazarus] TSQLite3Connection setting itself to active in the designer
Martin Schreiber
mse00000 at gmail.com
Sat Nov 26 20:34:56 CET 2011
On 11/26/2011 07:17 PM, Bernd wrote:
>
> Its not really ultra dramatic, I can leave the DatabaseName property
> empty (which is what I have done now) this will prevent it completely
> from being activated at all. Strangely it does NOT help setting it to
> a different copy of the sqlite file, for some reasons this will not
> prevent the "database is locked" errors.
>
A hint: in order to prevent locks of the running project from the active
design time instance set packetrecords of the datasets to -1. An open
data cursor locks the Sqlite data file.
Martin
More information about the Lazarus
mailing list