Database.setUserResultComponent


setUserResultComponent(compName, entityName, expression, description, [newCompName], [guiIndex])

Modifies the definition of an existing user result component or creates a new one if 'compName' does not exist. This method also allows renaming an existing user result component.

compNamestringuser result component name (existing or a new one)
entityNamestringresult entity name that this component is assigned to
expressionstringexpression that defines the result component values
descriptionstringa user friendly description of the user result component
newCompNameoptional string specifies a new name for this user component (the component must already exist)
guiIndexoptional integer index of this component in the GUI (it is added to the end of the list if not specified)
Return valuePointer to this objectAllows multiple function calls to be chained together

Back to Database

Back to Overview