Return the handle of the requested entity.
$collhandle
{(
LitEntityName)
}
Allowed in all component types.
The function $collhandle
returns
the handle of the requested entity.
If the LitEntityName argument is provided, it must be one of the following:
$collhandle("MYENTITY").
$collhandle("MYENTITY")
.$collhandle
($1)
,
where $1 contains "MYENTITY"
.$collhandle
(PARAM1)
,
where PARAM1 contains "MYENTITY"
.$collhandle
($entname)
,
where $entname
is "MYENTITY"
.$collhandle
(@$1)
, where $1 contains "FLD1"
and FLD1 contains "MYENTITY"
.If the LitEntityName argument is omitted, the current entity is used.
The function $collhandle
returns
the handle of the entity of LitEntityName.
An null handle is returned if an error occurred or if LitEntityName is not a correct entity.
If an error occurs during the evaluation of this function, the
function $procerror
contains a negative value
that identifies the exact error. Values of $procerror
commonly returned by this function are:
-1102 |
<UPROCERR_ENTITY> |
An incorrect entity name was provided; either the entity name is not valid syntactically or the entity is not available in the component. |