$formname (deprecated)
Return the name of the current Form component.
Note: The $formname function is deprecated. It has been superseded by $instancename and $componentname, which enable you to distinguish between instances of the same component. For more information, see $instancename and $componentname.
Return =
$formname
Use
Use in Form components.
Return Values
- Name of the current form, if the Form was started with run.
- Name of the instance, if the Form was started with newinstance or activate.
- Name of the application shell, if no Form is current (for example, in the apStart trigger).
Description
The $formname function is useful if you want to restrict the use of global ProcScript to a particular set of Form components.