Reported By: Charles Bainbridge Reported On: 1/15/2015 For: Version 2.18 Build 2
# 4138RAD Studio XE7 Versions of VCL Components Can Experience #1006 Unlock Error During DataSet Close We’ve recently upgraded to Delphi XE7 and EDB 2.18b2. However, we’ve started seeing #1006 errors in code that worked fine in XE6 with 2.17b1 (and DBISAM 4 before that with D7). If a table is in dsEdit state and you close it without first calling Cancel (or I guess Post), the error occurs.
CommentsXE7 now handles cancelling active edits at the TDataSet level when a dataset is closed, so this code needed IFDEF'ed in ElevateDB so that it only operates with XE6 or lower.
ResolutionFixed Problem on 1/15/2015 in version 2.18 build 3
Products AffectedElevateDB VCL Client-Server ElevateDB VCL Client-Server with Source ElevateDB VCL Standard ElevateDB VCL Standard with Source ElevateDB VCL Trial