ODSOColumns Object
A collection of ODSOColumn objects that represent the data fields in a mail merge data source.
Example
Use the Columns property to return the ODSOColumns collection. The following example displays the field names in the data source attached to the active publication.
| Visual Basic for Applications |
|---|
|
Use Columns(), where is the data field name or the index number, to return a single ODSOColumnobject. The index number represents the position of the data field in the mail merge data source. This example retrieves the name of the first field and value of the first record of the FirstName field in the data source attached to the active publication.
| Visual Basic for Applications |
|---|
|
See also:
- Object Model Reference
- ODSOColumns Object Members
- ODSOColumn Object
- ODSOFilter Object
- ODSOFilters Object
- OfficeDataSourceObject Object
| index | index |