Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who's RULE am I floowing?
Message
De
22/04/1999 00:50:30
 
 
À
21/04/1999 23:03:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00210820
Message ID:
00210876
Vues:
22
>ValidateField()
>
>instead of
>
>ValidateField('table.field')
>
>In the function I can do something like:
>
>cRuleTable = somefunction() && alias() maybe???
>
>cRuleField = somefunction() &&no idea here...

You can count on ALIAS() always returning the correct _alias_ when used from a stored procedure called from a trigger, but there is not way to detect the field. Stored procedures are just procedures loaded when the database is opened, there is nothing else magic or special about them- they are tied to the field only by the field... there is no other record of correlation.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform