TBDEDataset.Locate question...

Hi, Im using Locate method of TTable in code above and its raising a EDatabaseError ("Record not Found"), but in documentation said that if no records found in search method returns false, but have not said about exceptions. May anyone help me?

procedure Process(List: TStringList);
var
  i: integer;
begin
  for i := 0 to List.Count-1 do
    if Table1.Locate('KeyField',List[i],[]) then begin
      // process my code if record found
    end;
end;

--
Carlos Alberto Costa Beppler
MPS Informatica LTDA
bepp...@castor.mps.com.br
ICQ 16011967