Hi
I have a multi-user application that is stored on a server the application has an edit notes fuction which when pressed performs RLOCK() which if the record is locked gives the message 'someone is editing this person' the record is then unlocked when the user clicks save.
The problem i am having is when a user clicks the edit button they get the message, however they are sure that the no other users are editing the person. so i tried to mimic what they were explaining but the record always unlocked i even tried crashing the application but this still unlocked the record.
Please could someone explain to me what happens when a record is locked i.e. what kind of information is stored in the database.
also is there a way that i could unlock all records in a multi-user environment without everyone having to exit the application
Nick your help and advice is appreciated
I have a multi-user application that is stored on a server the application has an edit notes fuction which when pressed performs RLOCK() which if the record is locked gives the message 'someone is editing this person' the record is then unlocked when the user clicks save.
The problem i am having is when a user clicks the edit button they get the message, however they are sure that the no other users are editing the person. so i tried to mimic what they were explaining but the record always unlocked i even tried crashing the application but this still unlocked the record.
Please could someone explain to me what happens when a record is locked i.e. what kind of information is stored in the database.
also is there a way that i could unlock all records in a multi-user environment without everyone having to exit the application
Nick your help and advice is appreciated