Entry Locked, View Only (OpenInsight 32-bit Specific)
At 07 MAR 2004 03:33:01PM Patrick McCann wrote:
Hi, I am trying to find a way to check and see if a window is set to "Entry Locked, View Only" so I can disable a Control in my form. I searched and found the following which may be what I'm looking for but would need a little more direction. Specifically what OIWIN_COMM_INIT and (SENL passim) refer to.
]
You know of RowLocks@ in the WindowCommon area (see OIWIN_COMM_INIT)? (see SENL passim). This will let you know if the record is locked or not.
]
Thanks,
Pat
At 07 MAR 2004 11:53PM Donald Bakke wrote:
Hi Pat,
In your window commuter module you would add two lines of code like this:
WinID=@Window
$insert OIWIN_COMM_INIT
RowLocks@ is a common variable located in this insert which you can look up in the SYSPROCS table.
Is that enough information to put you in the right direction?
dbakke@srpcs.com
At 08 MAR 2004 05:51AM The Sprezzatura Group wrote:
You could also grab the text of the window and check for the string in the heading.
The Sprezzatura Group
World Leaders in all things RevSoft