Skip to Content
0
May 20, 2009 at 01:38 PM

Another User modified Table (ODBC -2039) - Sales order

67 Views

Via a button on sales order form I delete some of the order lines with oMatrix.DeleteRow(rowNr).

It works fine but the DocTotal is not updated as it will be if I delete the row manually with the right-click Delete Row command.

When saving the order via Update button it refuses with the error "Another User modified Table (ODBC -2039)".

Do you have any ideas for workarounds for this?

I've tried to set the price to 0 before deleting the row (the DocTotal will be updated) but the error is the same when saving.

I don't manipulate the FormMode in the code.

Regards

Lars