Takes three parameters, FieldBase, OldFieldName, NewFieldName


The Field will be renamed, it will continue to exist in its previous location and keep its data. If the New Field name already exists, and error will occur.

The NewFieldName parameter does not need to be a Database field name, or even a valid field name at all: It may contain spaces, etc. and may essentially be a label before final output via a command such as HtmlTable.

Optionally, instead of renaming one field at a time, you may use a * at the right side of the parameters to wildcard match many fields.


NameField "MemTab.Person.FirstName", "MemTab.Person.Name"
NameField "MemTab.Person.LastName", "Last Name"
NameField "MemTab.Person.*", "MemTab.Example.*"