Lonely Repeat

The REPEAT statement should always be alone on a line. Bad code

IF ReservEntry.FINDSET THEN REPEAT  

Good code

IF ReservEntry.FINDSET THEN
REPEAT