>Hello,
>I am writing a code in FP 2.6, which has to get the values from the fields of a table, while I want to make it as generic as possible.
>I can find out the number of fields with FCOUNT, but can I call the first field, then the second... and so on? I hope there is a function for this, which works in FP 2.6.
>Can anybody help me?
FIELD(
number between 1 and FCOUNT()) will return the name of the field in that position, and EVAL(FIELD(
number between 1 and FCOUNT())) will return the content of that field.
>Thanks for your time in advance!