Reported By: Alfred Ghazzi Reported On: 4/4/2007 For: Version 1.02 Build 1
# 2316Parameterized Queries with the ElevateDB Server Not Working Properly The following code does not work when used with the database server.
Query.sql.Clear;
Query.sql.Add('SELECT * FROM Table1 WHERE ID = :ID');
Query.ParamByName('ID').Value := 5;
Query.Active := True;
Query.RecordCount = 0; // It is wrong. This statement should have returned 1; there is one record with id = 5
ResolutionFixed Problem on 4/8/2007 in version 1.03 build 1
Products AffectedElevateDB VCL Client-Server ElevateDB VCL Client-Server with Source ElevateDB VCL Standard ElevateDB VCL Standard with Source ElevateDB VCL Trial