GetViewReadOnly()

Summary

Reports whether a view is read-only.

Syntax

read_only_flag = GetViewReadOnly(string view_name)

Argument Contents
view_name The name of a view

Returns

The string "Yes" if the view is read-only, the string "No" if it is not.

Notes

  • If the input view_name is null, GetViewReadOnly() uses the current view.

Example

If GetViewReadOnly() = "Yes" then SetViewReadOnly(, "False")

Error Codes

Error Type Meaning
NotFound The named view does not exist, or the input view_name is null and there is no current view

See Also

Function Summary
SetViewReadOnly() Changes the read-only status of a view