Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who's RULE am I floowing?
Message
From
22/04/1999 00:50:30
 
 
To
21/04/1999 23:03:19
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00210820
Message ID:
00210876
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform