>Is there an easy way to exit from a command button. What I would like to do is at the start of the code in a command button check to see if the user has entered the data needed to run the command. If not I just want to exit. Now I run a do case bu if I need to check several pieces of data it gets rather complex.
>
>Thanks
>
>Dennis Tarkir
If you want to shutdown the application totally, you can use QUIT.
If user has entered the required data
Allow the user to proceed
Else
Quit
Endif
HTH
- Ravi
True greatness consists in being great in little things.
- Charles Simmons