Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need assistance with 'field validation'
Message
De
03/03/2003 09:52:07
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
02/03/2003 10:48:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00759567
Message ID:
00760352
Vues:
22
Hilmar,

I am definitely interested in seeing how you do your validation code and would greatly appreciate any that you care to share. The stuff about corresponding error messages is what I'm now curious about too.

Mike.

>>Dana,
>>
>>Of course. You're correct in that DO CASE... is not what I'd need and several IF statements would be required. Anyway, if there were multiple fields that needed validating, is it recommended or common to create "large" IF statements within the validation rule?
>
>A table-based approach for validation is much easier to maintain. All rules, and the corresponding texts, are in a table. Then, all you need to do is add a rule and its corresponding error message into the table.
>
>If you are intested, I will post my validation code.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform