I have a fairly short script with two loops (nested), both start and end with Loop and End Loop commands. The inner loop's last command is Read Record/Request/Page [Next; Exit after last]. They work correctly and the final results are correct. The second (outer) loop's End Loop command is followed with an Enter Preview Mode command so the resulting report will display properly. However, it never gets there.
The process hangs up after, it seems, processing the final record. A command symbol with flashing period appears on my screen indefinitely (forever!). If I press Commond+Period on keyboard, my report appears in Browse mode. Then, if I click on screen menu View>Preview, the report appears as I want it. All the data is correct. But the script never does this final Enter Preview Mode step for me.
After it's processed the final record, why would it get hung up? All suggestions appreciated.