Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get DBC to fire field rule manually
Message
De
07/06/2003 10:47:28
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:
00796071
Message ID:
00797615
Vues:
23
>I wanted something like best of both the worlds, fire quite early automatically and in my controllable postion, so the users can do the necessary and before being submitted, thus only clean data is tableupdated()

Well, with a separate validation function, based on data in tables, this would be possible.

If this is not feasible for you, well, and if you insist on using field-level and row-level validation, I really don't know - but perhaps you can create a function that extracts this information from the database.
>
>>
>>With table-based validation, you could check the rules before doing your TableUpdate(). As an additional security, you could call your validation function from the Insert and Update triggers.

dbgetprop("Field") and dbgetprop("Table") seem to be appropriate for this purpose.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform