Icon View Incident Report

Serious Serious
Reported By: Pierre du Plessis
Reported On: 7/18/2010
For: Version 2.03 Build 17
# 3256 OnFilterRecord Not Being Respected with FindKey/Locate

I just found that Findkey returns true for values that are filtered out using OnFilterRecord.

I use FindKEY to locate a record and then show the Edit window. With DBISAM, this worked as I intended, but with Elevate DB, it returns true, which means the the edit record contains the incorrect row.

NOTE: The ID in Px exists in the database, but it's a filtered dataset.

Workaround

Change from:
       if FindKey([Px]) then
       begin
To:
       if FindKey([Px]) and (FieldByName('ID').AsInteger=Px) then
       begin



Resolution Resolution
Fixed Problem on 7/27/2010 in version 2.03 build 18


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

Image