Create and Write to Persistent Storage
- Create an instance of the FormSetFile class using the FormSetFile constructor.
- Set the Filename property.
- Call Lock to create the file and lock it.
- Set the Identification property
- Set the Type and Content strings (class is DataItem) of the Identification property to represent the operation to perform form identification.
See Integrating with FormFix.
- Set the value of the Identification property to this DataItem
- Create and add one or more FormDefinitions.
See Store Data & Operations > FormDefinition.
- Add processing operations 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 and Operations > DataItem.
- Add this DataItem to the Operations collection.
- Add DataItems to the OtherDataItems collection.
- Call the Write method to write all of the information to a file.
- Call the Unlock method to unlock the file.
Load from Persistent Storage
- Create an instance of the FormSetFile class using the FormSetFile constructor.
- Set the Filename property to the path of the form set file in persistent storage, which you want to load.
- Call the Read method to load the information in the form set file into the instance of the FormSetFile object.
See Also