The problem is that other clients can edit a record it is in use by a user in smart client The record isn’t blocked for the other clients!
How can I fix this?
Servoy 5.2.0
PostgreSQL 8.4.4
Thomas
The problem is that other clients can edit a record it is in use by a user in smart client The record isn’t blocked for the other clients!
How can I fix this?
Servoy 5.2.0
PostgreSQL 8.4.4
Thomas
Hi,
Are you using databaseManager.acquireLock?
Hi Victor,
I don’t use databaseManager.aquireLock! Should I do this?
I’m using databaseManager.setAutosave(true/false).
Regards,
Thomas
Yes, I think that if you want to block the other users you should use it. Before edit the record try to add a lock to the record,if the acquireLock returns false the record already has a lock (another user is editing it).
Ok, thank you! I will try this.
Regards,
Thomas