Advantage TDataSet Descendant
Stores the given value representing milliseconds since midnight in the given time or timestamp field.
procedure AdsSetMilliseconds( const strFieldName : string; lTime: LongInt );
|
strFieldName |
Name of field to set. |
|
lTime |
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.AsDateTime. See your Delphi documentation for more information about this native Delphi method.
AdsSetMilliseconds can be used to set the number of milliseconds since midnight in a time field, ModTime field, or in the time portion of a timestamp field.
AdsTable1.FieldByName( ‘TimeEntered’ ).AsDateTime := dtTime;