Accuracer: The First And Only Cross-Platform BDE Replacement
Client-Server Single-File Embedded Database with SQL for Delphi / C++Builder / Kylix


Enables an application to gain sole access to a database.

property Exclusive: Boolean;

Use Exclusive to prevent other applications from accessing a database while this application is using it. Before opening the database, set Exclusive to true. The default value for Exclusive is false, allowing other applications to use the opened database.

When Exclusive is true and the application successfully opens the database, no other application can access it. If the database for which the application has requested exclusive access is already in use by another application, an exception is raised. To handle such exceptions, write an exception handler. All tables in the database are effectively opened exclusively, as other applications would be prevented from opening the database and the tables would be inaccessible.

A table database must be closed before changing the setting of the Exclusive property. Do not set Exclusive to true at design time if you also intend to set the Connected property to true at design time. In this case an exception is raised because the database is already in use by the IDE.

© AidAim Software Accuracer: Client Server Single-file Bde Replacement Delphi Database Embedded Databas