Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime of field change
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01191228
Message ID:
01191341
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform