How to determine if the current record is locked?

Printable View