GetFieldFullSpec()
Summary
Returns a full field spec for a field name.
Changes
Added to Version 5.0.
Syntax
field_spec = GetFieldFullSpec(string view_name, string field_name)
| Argument | Contents |
|---|---|
| view_name | A view name |
| field_name | A field name |
Returns
A string with the full field spec.
Notes
-
The field spec is a string that includes both the view name and the field name.
Example
field_spec = GetFieldFullSpec("States", "Name")
Error Codes
| Error Type | Meaning |
|---|---|
| NotFound | The view name or field name does not exist |
See Also
| Function | Summary |
|---|---|
| GetFields() | Gets a list of the fields in a view |
| GetMappableFields() | Creates a list of the fields that are mappable to a layer |
| GetEditableFields() | Gets a list of the editable fields in a view |
| GetReadOnlyFields() | Gets a list of the read-only fields in a view |
| GetIDField() | Gets the full field spec of the ID field for a layer |