with ADOQuery1 do begin Close; SQL.Clear; SQL.Add('SELECT TOP 2 Num, InvNom, User'); SQL.Add('FROM Comps'); SQL.Add('ORDER BY Num DESC'); Open; end;