9.1C dynamic buffer locks

gpholman

New Member
Hi

I'm doing some work on an old legacy system written in 9.1C and I need to update a dynamic buffer that is in a no-lock state - so basically I need to upgrade it to exclusive-lock.

In 9.1D Progress introduced the FIND-CURRENT method which makes this easy [e.g. hMyBuffer:FIND-CURRENT(EXCLUSIVE-LOCK)] but this is not an option in 9.1C. The table used by the buffer is dynamically obtained so, say, FIND CURRENT TABLEX EXCLUSIVE-LOCK isn't an option.
 

gpholman

New Member
This has got answered on the official Progress Dev Forum.

Solution: hMyBuffer:FIND-BY-ROWID(hMyBuffer:ROWID, EXCLUSIVE-LOCK).
 
Top