Icon View Incident Report

Minor Minor
Reported By: Richard Harding
Reported On: 3/1/2007
For: Version 1.01 Build 1
# 2254 Creation Order Can Cause AV When Using TEDBQuery DataSource Property for Parameters

Queries that have parameters that are set by the datasource are failing with an access violation when opened. It works OK if the parameter is not set via the datasource.

SELECT ID, Name
  FROM CategoryItem
  WHERE CategoryListID = :ID



Comments Comments and Workarounds
The issue was one where the driver dataset was created after the detail dataset was created and opened in a data module. The workaround is to change the creation order in the data module so that the TEDBQuery is created last after the TEDBTable components.


Resolution Resolution
Fixed Problem on 3/3/2007 in version 1.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