Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datetime of field change
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 SP1
OS:
Windows Server 2003
Divers
Thread ID:
01191228
Message ID:
01191341
Vues:
9
You can not update the same table in the trigger. It can only be done in the table validation rule.

Re: Last Updated User Thread #988451 Message #989719

>Hmmm....
>
>I'm getting a syntax error when trying to place this into the expression builder for the table update trigger:
>
>IF OldVal('ActiveUser') = .T. AND ActiveUser = .F.
> REPLACE ActiveUserChg WITH DATETIME()
>ENDIF
>
>I've also tried adding RETURN .T. to the end, but still getting a syntax error
>
>Thoughts?
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