The setfieldproperties statement modifies one or more properties (name, data type, formula, etc.) of the current field.
This statement has one parameter:
dictionary – is the dictionary that contains one or more new properties for the field. This dictionary is usually created with the initializedictionary( function.
This statement modifies one or more properties (name, data type, formula, etc.) of the current field. The properties are stored in a dictionary, making easy to modify individual properties or a bunch of properties at once.
This example changes the name of the Company field to Organization.
field Company setfieldproperties initializedictionary("NAME","Organization")
The next example changes the type of the Quantity field to floating point (numbers). The available data types are Text, Integer, Float, Date, Choices and Binary.
field Quantity setfieldproperties initializedictionary("TYPE","Float")
There are over a dozen different field properties that can be modified, and more are being added with each new release of Panorama. To find out the current list of available properties, use the getfieldproperties( function.
|10.0||No Change||Carried over from Panorama 6.0.|