Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I do user friendly field validation?
Message
 
À
29/06/1998 17:57:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00112691
Message ID:
00112868
Vues:
15
Hi Rock,

You could specify your validations in the table along with the messages to be displayed. Assuming that you are using optimistic buffering, you would get an error when you save data which does not satisfy the validation rule. Here you coud trap the error, use AERROR() to get the information and display the message to your user.

You just need to code this once and it would be applied to all your tables.

>I want to include some field validation on several of my tables, but I can't figure out how to give them a custom messagebox instead of the foxpro system box generated from the 'validation text' property. Is this possible?
>
>Thanks,
>Rock Jensen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform