![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Field Definition is character of 1 length Validation rule is if (gender) # "m" .OR. (.NOT. gender) = "M" .OR. (.NOT. gender) = "f" .OR. (.NOT. gender) = "F" Validation text is "Valid Inputs are m, M, f or F. If Gender is m or M then Title 1 must be he and Title 2 must be his or if Gender is f or F then Title 1 must be she and must be her." Upon data entry in the gender field, the if clause is attempting to be executed as a program and hence the following error is displayed file "if.prg" does not exist. The validation text then appears but when you click ok and attempt to click save or revert from the data entry screen the program doesn't allow you to exit and keeps displaying the file "if.prg" does not exist message As a result I have to ctrl+alt+del out of Visual Foxpro. |
![]() |
| Thread Tools | |
| Display Modes | |
| |