Return the handle of the current occurrence of the requested entity.
$occhandle
{(
LitEntityName)
}
Allowed in all components types.
The function $occhandle
returns
the handle of the current occurrence of the requested entity.
If the LitEntityName argument is provided, it must be one of the following:
$occhandle("MYENTITY").
$occhandle("MYENTITY")
.$occhandle
($1)
,
where $1 contains "MYENTITY"
.$occhandle
(PARAM1)
,
where PARAM1 contains "MYENTITY"
.$occhandle
($entname)
,
where $entname
is "MYENTITY"
.$occhandle
(@$1)
, where $1 contains "FLD1"
and FLD1 contains "MYENTITY"
.If the LitEntityName argument is omitted, the current entity is used.
The function $occhandle
returns
the handle of the current occurrence of the entity of LitEntityName.
An null handle is returned if an error occurred or in the following circumstances:
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:
-1101 |
<UPROCERR_FIELD> |
An incorrect field name was provided; either the field name is not valid syntactically or the field is not available in the component. |
-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. |
Proc: