Previous Topic: $CURRENTTRANID FunctionNext Topic: $DATE Function


$CURSOR Function

This function evaluates to a Boolean value of True or False, depending on whether the cursor is in the designated field or row in a panel. A value of False is returned if the panel was not transmitted.

This function has the following format:

         {pnl‑grp(pnl‑row) }
$CURSOR ({field‑identifier })
pnl‑grp

Specifies the identifier of a repeating group field on a panel. You must define this field for the panel. It can be nullable.

pnl‑row

Specifies the name of a field or a literal that indexes the repetitions of the repeating group. You cannot specify a nullable field as pnl‑row. The value of $CURSOR is True if the cursor is in any field on the specified row.

field‑identifier

Specifies the identifier of an elementary field tested. You must define this field for the panel.