Update problem in Mysql database

Hello to all,

I have a problem with a database update when changing an int field to zero. The field shown in the form is set to zero, but a field set in the onvalidadsuccess event has the old value in the database. When restarting the application the change works.

{Punkte} = 0;
{Punkte} = {Ergebnis};
{Spiel} = “J”;

The field Punkte is not shown in the form, the field Ergebnis is. It is possible to change the field to all other values but zero. In an other post it was suggested to show the field Punkte in the form and set it to hidden. But when doing this no update happened.

Can someone tell me how to handle this problem?

regards