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.


FieldNumber(field_name ,table_name)

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.


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

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?