Sets the next record in the current view as the current database record. If there is no next record, %rec is set to null.
#DBFIRST;#WHILE (!%null(%rec)) {#SHOW &Name;#DBNEXT}
Loops through the records in a view and displays the Name of each record