ComponentOne True DataControl 8.0
DataSourceRequired Property

Returns whether a data field is mandatory (can't be left empty) in the underlying database.

Syntax

Field.DataSourceRequired

Remarks

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 required (cannot be set to Null in a modified or new record) in the underlying data source (database).

The DataSourceRequired property returns False in all other cases.

For more information, see True DataControl Fields.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback