Advantage TDataSet Descendant
Stores the given logical value in the given field.
procedure AdsSetLogical( strFieldName : String; bValue : Boolean );
|
strFieldName |
Name of field to set. |
|
bValue |
Store this value in the field ( False/True ) . |
CAUTION It is recommended that this Advantage extended method not be used. Please read the Caution About Extended Methods for more information. The suggested native Delphi method to use instead is: TField.AsBoolean. See your Delphi documentation for more information about this native Delphi method.
AdsSetLogical can set the value of the logical field to True or False. To set a logical field to NULL, use AdsSetEmpty.
AdsTable1.FieldByName( ‘IsMarried’ ).AsBoolean := TRUE;