The setfieldnames statement changes the names of all database fields at once.
Parameters
This statement has one parameter:
names – is a tab separated list of the new field names.
Description
This statement changes the names of all database fields at once. This example sets the field names to the contents of the first record of the database.
firstrecord
setfieldnames exportline()
deleterecord
If the names array contains more names than there are fields, the extra names are ignored. If the names array contains fewer names than there are fields, the names of the extra fields will be left unchanged.
See Also
History
Version | Status | Notes |
10.0 | New | New in this version. |