Skip to content

cDataTable.AddField

Brendon edited this page Mar 17, 2024 · 1 revision

AddField

returns boolean

accepts (fieldName as string, FieldValue as Variant, Optional FieldOder as Variant)

If there are existing fields in a cDataTable this method will add a field to all the records contained within it.

If you supply an order number for the field it will be placed in that ordinal position.

The actual positioning of the field in the record is performed by the cRecord.AddField method.

The Default record of the cDataTable will also have the new field added to it.

See also: cDataTable.LoadArray, cDataTable.DeleteField

Clone this wiki locally