Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exit command
Message
From
19/10/2002 02:04:14
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00713159
Message ID:
00713161
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform