Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need to revert -Add record-, but valid method fires.
Message
De
11/07/1999 10:57:37
 
 
À
10/07/1999 23:04:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00239842
Message ID:
00239947
Vues:
19
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
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform