Icon View Incident Report

Serious Serious
Reported By: Tonis Argus
Reported On: 9/30/2008
For: Version 2.01 Build 5
# 2786 Using an Active Index that Includes a GUID or CHAR Column Can Cause AV in TEDBTable

Cannot create a lookup field. After lookup field is created and query (qPais) reopened in datamodule Delphi hangs when I close query (set Active to false). Sometimes it happen when I second time in a row open and close query. ID fields are type of GUID.

Invalid class typecast error is shown on screen. I use Delphi2006 (Version 10.0.2288.42451 Update 2)

    object qPaisLadu: TStringField
      FieldKind = fkLookup
      FieldName = 'Ladu'
      LookupDataSet = TblLadu
      LookupKeyFields = 'LaduID'
      LookupResultField = 'Nimi'
      KeyFields = 'LaduID'
      Size = 40
      Lookup = True
    end



Comments Comments
The problem was improper handling of the bookmark values for GUID and CHAR values, which are NULL-terminated in the TDataSet record buffers, but not null-terminated in EDB.


Resolution Resolution
Fixed Problem on 9/30/2008 in version 2.02 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