RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBTable.ReadOnly Property

Specifies whether a table is read-only for this application.

Pascal
property ReadOnly: Boolean;
C++
__property Boolean ReadOnly;

Use the ReadOnly property to prevent users from updating, inserting, or deleting data in the table. By default, ReadOnly is false, meaning users can potentially alter a table's data.

Note: Even if ReadOnly is false, users may not be able to modify or add data to a table. Other factors, such as insufficient SQL privileges for the application or its current user may prevent successful alterations.
To guarantee that users cannot modify or add data to a table,

  1. 1 Set the Active property to false.
  2. 2 Set ReadOnly to true.

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!