View Single Post
Old 19th May 2011, 21:05
toolswizard toolswizard is offline
Senior Member
Join Date: Aug 2001
Location: USA
Posts: 292
toolswizard is on a distinguished road
Baan: 4c4, 50b, 50c, ERP ln - DB: Informix, Oracle, Sql - OS: Unix, NT, AIX
The 4gl engine will set a flag that the database needs to do a save whenever you have modified a field on the form. When you don't modify a field, but change a table value in the code, you need to call update.occ. to set the flag manually.

What this means is that you should be able to put your function call in a when.field.changes: subsection and it will work if you change a field value to something new.

Do you want to update the value any other time?
Reply With Quote