info(“fieldnumber”)
info(“fieldnumber”)

The info(“fieldnumber”) function returns the number of the current field (starting from 1).

Description

This function returns the number of the current field (starting from 1). For example, you could use it to test to see if the current field is the last field of the database.

    info("fieldnumber")=info("fieldcount") ☞ true if currently on last field

See Also

- emptyfield -- tells Panorama to move to the next available (empty) field in a series of line item fields.
- field -- tells Panorama to move to the specified field for the current record.
- fieldblueprint -- creates blueprint code for the specified field.
- info("fieldcount") -- returns the number of fields in the current database.
- info("fieldname") -- returns the name of the current field.
- info("fields") -- returns a carriage return delimited list of fields in the current database.
- listchoices( -- builds a text array containing a list of all the values stored in a specified field.
- recalculatefield -- recalculates all values in current field based on field's formula (selected records only).
- runfieldcode -- runs the automatic code associated with the specified field.
- uniqueid( -- generates ID codes with a text root and a numeric suffix (for example `Jeff261`).

History

Version | Status | Notes
10.0 | New | New in this version.