Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alias in data validation rules
Message
De
10/04/2008 07:18:29
 
 
À
10/04/2008 05:20:52
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01309609
Message ID:
01309617
Vues:
7
>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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform