Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing app object from table trigger
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01305112
Message ID:
01305138
Vues:
11
>I have a need to monitor the status of a logical field in a table and if it switches I need to send an email. A good place to do this would be a table trigger but then I have to depend on the application object and smtp object being available and I'm not sure that it is proper to put such calls in a trigger. Is it generally acceptable to do such a thing?

In n-tier application this probably should go into business logic tier.

However, from VFP trigger I think it's acceptable. But this is just my opinion.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform