OK, Erik. Thank you very much.
A last question, Why don't you generally use them?
Juan Carlos
>Hmm- I don't know- I don't generally use field validation rules... I suppose you could make your rules do the same thing as the valid method-
>for instance:
>
>!EMPTY(MyField) OR LASTKEY()=27
>
>
>>Hello Erik
>>
>>It works fine, but now, my problem is that field validation rule is being fired too.
>>What can i do?
>>
>>>If your revert button has it's Cancel property set to .T., it will fille LASTKEY() with 27 when clicked. KNowing this, you can code all of your valid methods to go womething like
>>>
>>>IF !LASTKEY() = 27
>>>
>>>...validation here
>>>ENDIF
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only