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


TACRDatabase.ReadOnly
TACRDatabase
Top 

Specifies that the database connection provides read-only access.

property ReadOnly: Boolean;

Description
Use ReadOnly to specify whether the database connection should allow the application to update the tables and other metadata in the database. Set ReadOnly before opening the database.

When ReadOnly is false (the default), the application can modify tables and database metadata (like indexes). When ReadOnly is true, applications can browse tables but cannot update them. The application is also prevented from creating or deleting metadata objects like tables and indexes.

Note:A ReadOnly property value of true should be used when accessing an Accuracer database on a read-only storage medium, such as a CD.  
Note:If ReadOnly is true, you must also explicitly set the ReadOnly property to true for dataset components like TACRTable and TACRQuery.  


© AidAim Software Accuracer: