SetName(Name As String)

Form object

Sets the name of the form. Should be the name of an existing form definition.

Normally, any field values already associated with the form are deleted, and you have to enter all of them. However, if you set the UnidentCopyValues setting in Ehlocal.ini to 1, all filled-in fields with the same name in both form definitions are preserved.

Field images are always discarded (except if you call KeepAllFormData before SetName).

GetName

The Form object

UnidentCopyValues (FORMS INI File Help topic)