Icon View Incident Report

Serious Serious
Reported By: Charles Bainbridge
Reported On: 3/3/2016
For: Version 2.22 Build 1
# 4369 Calling the TDataSet ClearFields Method while DataSet is in Edit Mode Can Cause Table Corruption

One of my guys (Scott) has come across what looks a problem with ClearFields in EDB 2.22b1 using D10S

Essentially, in local mode (where the problem was first discovered), calling ClearFields on the table results in a corrupt row and no exception. In remote mode, an exception is raised.


Comments Comments
The problem was with how ClearFields works - it internally calls the InternalInitRecord method, which is assumed to only be called during an Insert/Append operation, and ends up wiping out valid row information. ElevateDB now works around this by using a different method of row initialization under these circumstances.


Resolution Resolution
Fixed Problem on 3/6/2016 in version 2.23 build 1


Products Affected Products Affected
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image