VSView Reporting Edition Reference > VSReport Control > VSReport Properties > MaxPages Property |
Returns or sets the maximum number of pages allowed for a report.
[form!]VSReport.MaxPages[ = value As Long ]
This property is useful if you want to limit the maximum number of pages in a report. For example, you may write a report designer with a preview window that shows the first five pages of a report.
Setting this property to zero (default) allows reports of any length.
You can also limit the size of reports by setting the MaxRecords property.
Long