True DataControl 8.0 Reference > Field Object > Field Object Properties > DataSourceReadOnly Property |
Returns whether a data field is read-only in the underlying database.
Field.DataSourceReadOnly
Read-only at run time. Not available at design time. Type: Boolean.
Property applies to Field object.
For a data field in data source mode (DataMode = 0 – DataSource), this property returns True if the corresponding field is read-only in the underlying data source (database). In this case, the field’s ReadOnly property always returns True and cannot be changed.
The DataSourceField property returns False in all other cases.
For more information, see True DataControl Fields.