Maptitude GISDK Help

GetFieldProtection()

Summary

Gets a string that indicates whether a field is read-only.

 

Syntax

field_protection_flag = GetFieldProtection(string field_spec)

 

Argument

Contents

field_spec

A field spec

 

Returns

The string "True" if the field is read-only; the string "False" if values for this field can be modified.

 

Notes

Example

prot = GetFieldProtection("SalesRep.Salary")

 

Error Codes

Error Type

Meaning

Error

The input field specification is ambiguous

NotFound

The input field does not exist

 

See Also

Function

Summary

GetFieldInfo()

Returns the data type, display width, decimals, and index flag for a field

GetReadOnlyFields()

Gets a list of the read-only fields in a view

GetViewReadOnly()

Reports whether a view is read-only

SetFieldProtection()

Changes the read-only status of a field

 

 

©2025 Caliper Corporation www.caliper.com