Icon View Incident Report

Serious Serious
Reported By: Krisztian Kepes
Reported On: 8/3/2010
For: Version 2.03 Build 18
# 3267 Performing a Locate After an Insert Can Cause Invalid Records to Appear in Attached Grids

Executing the following code causes an attached grid to display duplicated records.

procedure TForm1.BitBtn2Click(Sender: TObject);
begin
    RendAl.Open;
    Rendal.Append;
    // Fill in fields
    Rendal.Post;

    RefreshQuery; // Closes/re-opens query on same table

    if not q.Locate('pKOD', RendAl.FieldByName('pkod').Value, [])
        then ShowMessage('Not found');

end;



Comments Comments
This issue was caused by the same issue as #3266, and was also introduced by the fix for incident #3256


Resolution Resolution
Fixed Problem on 8/5/2010 in version 2.03 build 19


Products Affected Products Affected
ElevateDB Additional Software and Utilities
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