ADOQuery10.Close; ADOQuery10.SQL.Clear; ADOQuery10.SQL.Add('SELECT Tab_nomer FROM Sotrydnik WHERE Family = :Family'); ADOQuery10.Parameters.ParamByName('Family').Value := 'petrov'; ADOQuery10.Open;