Syntax

fieldlist ('<path>+<database table definition name>', field_name)

Arguments

path+database name: text

field_name: field name or FACS field alias

Meaning

Fills occurrences of field_name with all field names specified in the data dictionary of <path>+<database name>, one field name per occurrence. Field names are retrieved in the current UI language and only if no field name translation in that language is present or if no UI language is known will the English translation be retrieved.

Example 1

fdstart test '../data+collect'

 zz is my_fieldlist_container

fdend

 

open test

 

fieldlist('../data+thesau', my_fieldlist_container)

errorm my_fieldlist_container[1]

errorm my_fieldlist_container[2]

close test

end

Result

If zz is an existing (temporary) field tag in collect.inf, the occurrences of its my_fieldlist_container FACS alias (this can be any name) is filled with the names of all fields in thesau.inf. The first two occurrences are then displayed in error messages.