setfieldnames
NAMES

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. If an element of the list is empty, the corresponding field name will be left unchanged.


See Also


History

VersionStatusNotes
10.0NewNew in this version.