procedure TOstat.Edit2Change(Sender: TObject);beginDM.IBDSOstatok.Locate('NAME_M',Ostat.Edit2.Text,[]);end;