Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you prevent Bypass of Field validation
Message
De
24/02/1999 11:11:14
 
 
À
24/02/1999 00:19:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00190601
Message ID:
00190973
Vues:
18
>Dan ---
>
>Move your validation rules into a separate business object (just a Custom object with custom properties, nothing fancy). Call the appropriate method on Valid *and*, as Ed suggests, in your Save code. Make sure that you use a SetFocus to move the cursor back to the offending control also for consistency.
>
>

I like this idea.

Should I have a business object for each control? Maybe have a flag, used when the form is originally instantiated, that determines if a business object should be created for each control? How will this affect the performance of the app?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform