RowCount  Second

Chapter 2: DataWindow Expression Functions

RowHeight

Description

Reports the height of a row associated with a band in a DataWindow object or a report.

Syntax

RowHeight ( )

Returns

Long. Returns the height of the row in the units specified for the DataWindow object or report if it succeeds, and -1 if an error occurs.

Usage

When you call RowHeight in a band other than the detail band, it reports on a row in the detail band. See GetRow for a table specifying which row is associated with each band for reporting purposes.

Examples

Example 1

This expression for a computed field in the detail band displays the height of each row:

RowHeight()

See also





Copyright © 2004. Sybase Inc. All rights reserved. Second

View this book as PDF