This content has been marked as final. Show 2 replies
By default, a record in forms gets locked when you start editing the record (means, start typing in a field of the record).
If you see the record is already locked after the query, this is typically caused by code in the POST-QUERY-trigger of the block. If you have field-assignments in the POST-QUERY, you have to make you that there is no "cross-validation" which changes a database-field in the record and with that causes a lock for that record. So check the POST1AUERY -trigger in your form. a solution for this is to mark the record as QUERY at the end of the POSt-QUERY using SET_RECORD_PROPERTY.