Form object
Call KeepAllFormData to retain all form data and field images when you switch form definition types using the SetName method.
| Warnings |
|---|
|
The SetName method can be used to change which form definition a form is associated with. If you call SetName when the UnidentCopyValues setting in Ehlocal.ini is set to 1, all filled-in fields with the same name in both form definitions are preserved. However, fields that are not filled in or are not found in the new form definition are discarded, and field images are also discarded. Call KeepAllFormData to prevent this loss.
UnidentCopyValues (FORMS INI File Help topic)