Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messages of Validations
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00261658
Message ID:
00261671
Vues:
21
>Hi, buddies!
>
>How can I customize the message displayed by VFP when a field validation rule is violated? I don't want that when a user is entering data in a form, VFP shows its message; I'd like to take control of this message.
>
>Is it possible?
>
>Thanks in advance, and forgive my errors in English.

Claudio,

Put your validation code in the valid event. If the data is invalid you can use the MessageBox() function to display any message you like and then RETURN 0 from the valid event. Returning .F. will display the VFP message and retain focus in the control. Returning 0 will NOT dislpay the VFP message but it will retain focus in the control.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform