IBX.IBTable.TIBTable.ReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadOnly: Boolean read FReadOnly write SetReadOnly default False;

C++

__property bool ReadOnly = {read=FReadOnly, write=SetReadOnly, default=0};

Properties

Type Visibility Source Unit Parent
property published
IBX.IBTable.pas
IBX.IBTable.hpp
IBX.IBTable TIBTable

Description

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

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.