GetCurrentForm

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

GetCurrentForm


 

Gets the name of the currently open form.

 


syntax

GetCurrentForm(

         [viewName]

         [, type = ""]

         )

 


Parameters

 

viewName

 

Type:

character

 

Specify the target view name. The view name to specify is"About form names and view names"If omitted, the view specified by the DefaultView root property is targeted, and if the DefaultView root property is omitted (or an empty string is specified), the main view is targeted.

 

type

 

Type:

character

 

If you specify "obj" as the first argument, an object type value will be returned.

"obj" - returns the form object

Not specified - returns the form name

 

Return Value



Type:

General purpose


Value according to type. If the form is not open, an empty string """ is returned (even if obj is specified as the first argument, an empty string is returned in case of failure).

 


Supported


×

Script Action

○

Browser script

×

Calculation Expression Syntax

 


reference