One way to do this is:
If you don't already have one, add a Cancel Button to your Form. Steps for this (sorry if you already know this, just in case)
1) Add Button to Form
2) Set Text property of Button to 'Cancel' (or 'Abort', or whatever suits)
3) Set DialogResult property of Button to Cancel
4) Set CancelButton property of Form to the Button from above
Then, so that you can bomb out without the validation
5) Set CausesValidation property for your Cancel Button to False.
This should work.
Some create happiness wherever they go, others whenever - Oscar Wilde
Bookmarks