Language Reference Guide : System Classes : FieldObject Class : Name Attribute
 
Share this page          
Name Attribute
Data Type: varchar(32)
4GL Access: RW1
The Name attribute contains the name of the field object.
For objects with data associated with them, such as an EntryField or a RadioField, you must use this name with the field function.
Usually, you do not need to access this variable. However, in programs that create frames dynamically, you can set this attribute, with the DataType and IsNullable attributes, to establish the data associated with the field.
The value of the Name attribute must be a valid OpenROAD name, although OpenROAD does not check the name until the frame is run. You cannot have two fields with the same name (unless they belong to different composite fields with different names).
Note:  You cannot change this attribute at runtime because 4GL cannot dynamically use different variable names for the same object.
If there is no name, as is often the case for the shape and trim display objects, there is no variable associated with this display object, and you cannot access it directly through the field function.