Jim, If you want the while loop to return to the form you called it from you don't have anything to worry about. I have a form that calls several cursors from a button.
If you issue a CLOSEWINDOW then your form will shut down. Jan -----Original Message----- From: "Jim Belisle" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Wed, 12 Aug 2009 14:50:27 -0500 Subject: [RBASE-L] - WHILE LOOP I am going to use an EEP in a bit button that contains a WHILE loop. According to the HELP information, it is best not to use a GOTO statement. I know I can use the EXIT code but I do not want the session to completely end. Also if I use the BREAK command, the WHILE loop is broken but the code continues to run. I just want the EEP to end and go back to the Variable form that has the button located on it. What is the best command to use? Jim As you can tell, I am unfamiliar with many of the programming commands. Just learning a few new things at a time.

