Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alias in data validation rules
Message
From
10/04/2008 07:18:29
 
 
To
10/04/2008 05:20:52
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01309609
Message ID:
01309617
Views:
6
>Exactly
>
>If you use views or CA's and run TABLEUPDATE(), the Alias of the CA will be in scope, but the validation of the target cursor (table) will fire. Since those table knows nothing about how they is called (tableupdate, replace, update, change in browse window) it will run the rule against its own alias. IOW it will change the alias internaly.
>
>
>sele bla
>replace OtherTable.field with FieldFromBla
>
>will fire the fule for "field" in "OtherTable" and while running this rule "OtherTable" will be the return of ALIAS().
>
>Agnes
>

Thank you!
Previous
Reply
Map
View

Click here to load this message in the networking platform