TableHeadings, TableHeadings()

Syntax

TableHeadings [On]

TableHeadings()

Remarks

The TableHeadings statement adds or removes the table heading format for the selected rows. Rows formatted as table headings are repeated when a table spans more than one page.

Argument

Explanation

On

Specifies whether to add or remove the table heading format:

0 (zero) Removes the table heading format.

1 Adds the table heading format.

Omitted Toggles the table heading format.


The TableHeadings() function returns the following values.

Value

Explanation

0 (zero)

If none of the selected rows are formatted as table headings

–1

If one or more but not all of the selected rows are formatted as table headings

1

If all the selected rows are formatted as table headings


See Also

TableRowHeight