This topic is locked
[SOLVED]

Only one user should be able to edit a record

7/14/2022 2:15:26 AM
PHPRunner General questions
S
Sayed author

There is a list page of records. Multiple users are working on that list.
When a user clicks on (edit) of a record, then it goes on edit page. Record is not saved yet.
Now, if another user clicks on (edit) of same record. Edit page should not edit the same record on which he clicked. Instead, edit page should display the next available record OR which is not being treated by any other user.
I am not expert, so I need help to handle this situation. Thanks

woodey2002 7/14/2022

There is a recording locking feature already built-in so have a look here https://xlinesoft.com/phprunner/docs/audit.htm#record_locking

Good Luck

J

Sergey Kornilov admin 7/14/2022

Yes, record locking is the way to go.

S
Sayed author 7/14/2022

Perfect… Yes, I got it and now its working.
Is it possible, if record is locked then edit page should go to next available record automatically?

Sergey Kornilov admin 7/15/2022

No, we do not have this kind of feature. It is possible to implement it manually though, with the help of some custom coding.