Update only the changed fields
Posted: 01.02.2019, 15:09
Hi, I wonder if it possible to only include the actually changed fields in TZGenericCachedResolver.FormUpdateStatement?
My problem is that my program is being used in the multi-user environment and sometimes users change the same record (but different fields) from different connections.
Since all fields are being rewritten only one change persists.
I wonder if it's possible to check if the field has been changed and only include the relevant fields.
I think it should also be great for speed.
FWIW I'm on 7.1.3 and use TZQuery -> TDatasource -> TDBEdit's in this particular place. The DB is Firebird 2.5.
My problem is that my program is being used in the multi-user environment and sometimes users change the same record (but different fields) from different connections.
Since all fields are being rewritten only one change persists.
I wonder if it's possible to check if the field has been changed and only include the relevant fields.
I think it should also be great for speed.
FWIW I'm on 7.1.3 and use TZQuery -> TDatasource -> TDBEdit's in this particular place. The DB is Firebird 2.5.