DOCREADONLY

Returns a value that indicates whether the attached document is locked from changes because it was suspended by another process or event before the current event began.

Return Value

Boolean

Notes

These are the return values:

  • TRUE indicates that the document is read-only (locked).
  • FALSE indicates that the document is not read-only.

Syntax

DOCREADONLY( attachmentName )

OR

DOCREADONLY( attachmentSeq )

where:

  • attachmentName is the name of the attachment for which you want the read-write status.
  • attachmentSeq is the 1-based sequence number of the attachment for which you want the read-write status.