Available in:
Apps (win)
Apps (char)
Reportwriter
RPC
Standalone PL
X
X
int active_field([field]) int field
field | (optional) specifies a new active field by its count. If
field's value exceeds the window's field count, the function
assumes the field with the highest value. If you don't give a value for
field, the function returns the existing (current) active field.
|
{ if (active_field() == active_field(active_field()+1)) active_field(0); }