04 GetHeader - AndrewMB2/Logic-Architect-for-Excel-VBA GitHub Wiki
GetHeader property
Returns or sets the field name associated with the Index parameter.
Applies to
| TableData | ArrData | RsetData | Xdata | XShared |
|---|---|---|---|---|
| ✓ | ✓ | ✓ | ✓ |
Parameters
| Name | Type | Description |
|---|---|---|
| Index | Variant | Field name or field number. |
For TableData only, can be used to change the field name associated with a field without changing the displayed name in the header row. This can be used to assist with field name matching. In ArrData, field names are changed with Rename (there is of course no displayed name). In RsetData field names are normally determined by the name in the database.