Reported By: Rob Frye Reported On: 12/10/2008 For: Version 4.27 Build 1
# 2883Need to Set LastAutoInc ID When Loading Cached Updates In your next build could you also please fix the problem where the AutoInc value isn't set for the cached table?
To fix it, I currently add a line in TDataCursor.PopulateCachedUpdates as follows:
with FCacheDataCursor do
begin
EmptyTable;
LoadFromStream(CacheDataBuffer,CacheDataBufferSize,
STREAM_TO_CACHE,False,False);
LastAutoIncID := Self.LastAutoIncID; <<<< ADDED LINE
end;
ResolutionFixed Problem on 12/14/2008 in version 4.27 build 2
Products AffectedDBISAM VCL Client-Server DBISAM VCL Client-Server with Source DBISAM VCL Standard DBISAM VCL Standard with Source DBISAM VCL Trial