Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to catch the validation rules?
Message
De
10/09/1997 10:12:33
 
 
À
10/09/1997 10:00:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00049301
Message ID:
00049302
Vues:
49
>How could I obtain the field or record-validation rule and the corresponding validation text from a
>table in visual Foxpro?
>
>This is what I mean: When I set, say, a record-validation rule for a table, and my program tries to
>create a new record (for example by using append blank or insert from...), the validation rule is
>executed and an error may occur.
>
>How could I Check from the program, the validation rule (and of course the corresponding validation
>text) of a given table?
>
>Thanks for help.

Use dbgetprop(), something like:
? dbgetprop("table1.field1","field","RuleExpression")
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform