CheckLocks

Specifies whether to check if a record is in use before allowing the record to be edited. If the record is in use, displays an error message. Only applicable on EntryGroup or Container blocks.

Property values
  • true (default). Specifies to check if a record is in use.
  • false. Disables the check.

The property values are case-sensitive.

Examples

Block = CRM.GetBlock("companyboxlong");
Block.CheckLocks = false;

Specifies not to check if record is in use.