Q:
In my "documenti" table, I've added a datetime field called "modified"
In the OnAfterUpdate trigger, i've wrote:
Code:
// Trigger onafterupdate for table documenti
replace documenti.modified with datetime()
return .t.
but work only if I open the table with Browse... not in section..
A:
If the trigger is being called, but the replaced value is being reset as you navigate, please try this:
Code:
// Trigger onafterupdate for table documenti
replace documenti.modified with datetime()
skip 0
return .t.
All topics in [Answers] alphabetically:http://www.lianja.com/community/show...ll=1#post12352
Bookmarks