TOC : Script API > JavaScript > JavaScript API > GeneralScript > CalculatedField > Method >

 

GetDataSetName

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > GeneralScript > CalculatedField > Method >

 

GetDataSetName

 

 

Gets the dataset name.

 

 

Prototype :

 

string GetDataSetName

(

       No Arguments

)

 

 

 

Reference :

 

Returns "OZFormParam" for form calculated field.

 

 

 

Example :

 

if(This.GetDataSetName() == "OZFormParam") {

  This.SetFieldData("Form calculated field created in OZFormParam.");

} else {

  This.SetFieldData("Calculated field created in dataset.");

}

 

 

 

Available Events :

 

GetFieldData