Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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

SRP Computer Solutions, Inc.


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

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/174096cbc371310d85256e500070e317.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1