Skip to main content

FieldNumber - script function

The FieldNumber script function returns the number of a specified field within a previously loaded table. If the function is used within a LOAD statement, it must not reference the table currently being loaded.

Syntax:  

FieldNumber(field_name ,table_name)

Arguments:  

Argument Description
field_name The name of the field.
table_name The name of the table containing the field.

If the field field_name does not exist in table_name, or table_name does not exist, the function returns 0.

Example:  

LET a = FieldNumber('Customer','tab1');

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!