Create a Field
- Create an instance of the Field using a using the Field constructor.
- Set the Location, Name, and UserTag of the field.
- Set the Construction property
- Set the Type and Content strings of the Construction property to represent the operation to create the field clip. See Storing Data & Operations > DataItem. Also see Integrate with FormFix for information on FormFix Operations and Form Identification Operation.
- Set the value of the Construction property to this DataItem
- Add to the Operations collection
- For each operation to be added to the collection
- Create a DataItem to represent the operation to be performed on the field clip.
See Storing Data & Operations > DataItem. See also Integrate with Other Components.
- Add this DataItem to the Operations collection.
See also Use OtherDataItems: An Example.
- Add to the OtherDataItems collection
- For each additional DataItem that needs to be stored
- Create a data items
- Add it to the collection
- Associate the field with a FormDefinition
- Add the field to the Fields collection of a FormDefinition
Write to Persistent Storage
A Field is written to persistent storage when the FormDefinition instance it is associated with is written to persistent memory. See FormDefinition Write.
Load from Persistent Storage
A Field, stored in persistent storage, is loaded when the FormDefinition it is associated with is loaded from persistent storage. See FormDefinition Read.
See Also