Advantage TDataSet Descendant
Writes any changes in the current record.
procedure AdsWriteRecord;
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: Post. See your Delphi documentation for more information about this native Delphi method.
AdsWriteRecord flushes any data changes to the server’s disk. If an implicit lock is held on the record, calling this function will release it.
AdsTable1.Append;
AdsTable1.FieldByName( ‘LastName’ ).AsString := ‘Smith’;
AdsTable1.Post;
None.