EhLib
ContentsIndexHome
PreviousUpNext
TCustomSQLDataDriverEh.DefaultGetUpdatedServerValues Method

Updates necessary values of fields after performing an query of changing record.

Pascal
procedure DefaultGetUpdatedServerValues(MemRec: TMemoryRecordEh; Command: TCustomSQLCommandEh; ResDataSet: TDataSet); virtual;

Call this method to update necessary values of fields after performing an query of changing record. Method executes different actions depending on the type of DataBase (determined by the ServerSpecOperations property). For instance, for InterBase server, after inserting a record it writes in AutoIncrement field a value generator received from server. You can call this method in OnGetBackUpdatedValues event.

Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!