How To Skip the Validation of a Control and Exit the Form (150752)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q150752 SUMMARY
In some cases, it is necessary to exit a form even if the data in a given
control does not meet the validation rules in the Valid method. To make
this behavior possible, testing is done for some specific condition by
stopping the code in the Valid Method from being evaluated. This article
describes how to release a form by clicking a command button even if the
data in the Textbox control is not valid.
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbhowto KB150752 |
---|
|