Advantage TDataSet Descendant
Stores the given signed long integer in the given field.
procedure AdsSetLong( strFieldName : String; lValue : Longint );
|
strFieldName |
Name of field to set. |
|
lValue |
Long value to be stored in table. |
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.AsInteger. See your Delphi documentation for more information about this native Delphi method.
AdsSetLong can be used to set values for numeric, integer, short integer, double, CurDouble, RowVersion, and Money fields. If there are decimals in a numeric field, the decimals are padded with character zeros.
AdsTable1.FieldByName( ‘RecordID’ ).AsInteger = 93;