Maybe I did not understand this "How To" exactly, but instead of using a FOR cycle, I found it more usable (and only works like this) to do it like this
if recStudentsRegistrations.find('-') then begin
tmpStudents.Name := recStudentsRegistrations.Name;
until recStudentsRegistrations.next = 0;
I needed to create a report with all the students in one class listed.
The report was based on the Class table, which did not had the students registered there. The students were listed on the StudentsRegistrations table, which had a "Class Code" field, StudentNo and Student Name field.
The report's required field was the class code only of the Class table.