Delphi ADO : Locate with dataset filter on bug
I have as simple query, which returns following rows: Name Value Peter 1 Peter 2 Peter 3 John 1 John 2 Applying filter: ADO.Filter := 'Name="John"'; ADO.Filtered := True; // Now, its only 2 rows in dataset ADO.Locate('Value', 2); Cursor should point to "John 2", but it points to "Peter 2" (which being filtered out by filter). And locate returns True. Tried on Delphi 7, Rad studio XE 6. It seems that this error is living there for the last 15 years Any solution ? kobik The problem with TCustomADODataSet.Locate is that it's internally using Recordset.Clone and trying to locate a record in the