PageCount  Percent

Chapter 2: DataWindow Expression Functions

PageCountAcross

Description

Gets the total number of horizontal pages that are wider than the Print Preview window when a DataWindow object or report is viewed in Print preview.

Syntax

PageCountAcross ( )

Returns

Long. Returns the total number of horizontal pages if it succeeds and -1 if an error occurs.

Usage

PageCountAcross applies to Print Preview.

Examples

Example 1

This expression returns the number of horizontal pages in the Print Preview window:

PageCountAcross()

See also





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

View this book as PDF