with Query do begin Close; SQL.Clear; SQL.Add('SELECT *'); SQL.Add('FROM 'Таблица заказов''); SQL.Add('WHERE 'Код'='+Edit3.Text); Open; end;