[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Update a record with NO-LOCK status

  • Thread starter Thread starter Jeff Ledbetter
  • Start date Start date
Status
Not open for further replies.
J

Jeff Ledbetter

Guest
Gus, Can you further explain this? [quote user="gus bjorklund"] When you already have a lock and then you request another, the higher strength lock is retained if the new lock request is of lower strength than the existing. If the new lock request is higher strength than existing, then the higher strength lock is requested. [/quote] If I am understanding you, how does one release a record lock at the end of a transaction? Will this not downgrade to a NO-LOCK? DO TRANSACTION: FIND cust EXCLUSIVE-LOCK. ASSGN cust.name = "ABC". FIND cust NO-LOCK. END TRANSACTION.

Continue reading...
 
Status
Not open for further replies.
Back
Top