FIX: Entering Validation Rule in Table Designer Causes Error
Article ID: 136980
Article Last Modified on 3/24/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q136980
SYMPTOMS
When you use the Table Designer to enter a field validation rule and the
rule uses the NOT operator in the expression, you will receive the
following error in Windows 3.1 or Windows for Workgroups:
win32s Error VFP.EXE Unhandled Exception detected Application will be
terminated.
Under Windows 95, you may receive one of the following error messages:
This program has performed an illegal operation error in Windows 95
Expression is Not Valid Outside of WITH/ENDWITH
The error message you receive will vary depending on your configuration.
CAUSE
This is caused by a syntax error when entering the expression. By entering:
NOT.EMPTY(field1)
instead of:
.NOT.EMPTY(field1)
-or-
NOT EMPTY(field1)
you will receive the error.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem was corrected in
Visual FoxPro 3.0b for Windows.
Additional query words: VFoxWin fixlist3.00b buglist3.00
Keywords: kberrmsg kbbug kbfix KB136980