Maptitude GISDK Help

SetViewReadOnly()

Summary

Changes the read-only status of a view.

 

Syntax

SetViewReadOnly(string view_name, boolean read_only_flag)

 

Argument Contents
view_name The name of the view
read_only_flag Whether the view is read-only. If "False" values can be written to the view, subject to the notes appearing below.

 

Note

Example

SetViewReadOnly("Customers", "True")

 

Error Codes

Error Type Meaning
Error Some necessary files cannot be opened in the specified mode, e.g., a user without write access to a file tries to open that file in a non-read-only mode
NotFound The input view does not exist, or the input view is null and there is no current view

 

See Also

Function Summary
GetViewReadOnly() Reports whether a view is read-only

 

 

©2025 Caliper Corporation www.caliper.com