Announcements
Hi,
I do a select forupdate of a record in a table.
Lets say: table.field1 = A, field2 = B, field 3 = C
Then I do some calculations and the result is A,B and C
When I then call table.write() method, will X++ update the record or is it smart enough to see that the values has not changed?
I ask this because the modified date is not changed on the record. But want to know for sure.
Thanks
Hi Satch,
It will still run the logic in the update method, but if none of the values have changed in the table, the record won't be updated. The fields ModifiedDate, RecVersion etc. will not be updated.
André Arnaud de Cal...
294,000
Super User 2025 Season 1
Martin Dráb
232,850
Most Valuable Professional
nmaenpaa
101,158
Moderator