FireDAC.Stan.Option.TFDUpdateOptions.CheckRequired

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CheckRequired: Boolean read GetCheckRequired write SetCheckRequired

C++

__property bool CheckRequired = {read=GetCheckRequired, write=SetCheckRequired, stored=IsCRS, default=1};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option TFDUpdateOptions

Description

Controls the checking of the Required property.

Use the CheckRequired property value to control whether FireDAC should use the Required property to control the field value requirement. The default value is True. For TFDCustomMemTable it is False

The Required property is used when CheckRequired is set to True. If at dataset Post call, the field has the Required property set to True and the field value is Null, then an exception is raised.

See Also