Skip to main content

GetLockComment

Use this function to retrieve the comment associated with a particular lock.

A lock is a Longview database security feature preventing access to data currently used by another user.

Syntax:

GETLOCKCOMMENT("dataspec.lvdsp")

where:

  • dataspec.lvdsp is the name of the DataSpec file.

Syntax example:

CREATE VARIABLE TXT as string

SET VARIABLE TXT = GETLOCKCOMMENT("Tax_Data.lvdsp")

Was this article helpful?

We're sorry to hear that.