Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 29 JUL 2008 12:30:13PM Sandra D'Angelo wrote:

I would like to call the same function that the LIST_USER_LOCKS window uses to parse out a specific key lock and send a message to the user which station has the lock. Currently the user has to scroll through the entire list to find their specific key. Does anyone know the name of the function? Is it available for use? I saw some messages posted in 2005 saying that it is not documented. Has it been documented since?

Thanks, Sandra


At 29 JUL 2008 06:27PM Bob Carten wrote:

Sandra,

The LIST_USER_LOCKS screen logic is not programmtically available yet.

An approach I have taken at clients is to use an MFS which traps lock, unlock and writes the identifying information into a record keyed table*row in a USER_LOCKS table. For speed I don't lock the USER_LOCKS table. Because unlocks do not necessarily go through the MFS I don't bother to delete the records on unlock. The table does not tell you which locks are active, but if you are unable to get a lock, it always tells you who has it. Thus, you can safely use it to put up a message saying who has the lock.

HTH

Bob


At 30 JUL 2008 09:51AM Sandra D'Angelo wrote:

Brillant. I actually have an MFS that tracks access history which would work similar to your MFS. Thanks for helping me think outside the box :) - Sandra

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/ab4afa55703096ed85257495005aa84c.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1