Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Record logical locking (Read 767 times) previous topic - next topic

Record logical locking

Hi,
I've a 'locked' attribute in my DB to every record. The attribute value is '1', if the record is locked, and that is '0', if the record unlocked.
If I create a customized List View, and write this before Edit button: if(($can_edit)&&($data['locked']=='0')). No effect. Why?

Thx!

 

Re: Record logical locking

Reply #1
Solution: the "locked" attribute is 'true' or 'false' in the DB (varchar(5) type). And the logicalt locking is work.