Código Delphi [-] ibQuery.Last; ibQuery.First; // ó ibQuery.FetchAll;
ibQuery.Last; ibQuery.First; // ó ibQuery.FetchAll;