The setfieldnames statement changes the names of all database fields at once.
This statement has one parameter:
names – is a tab separated list of the new field names.
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.
|10.0||New||New in this version.|