>Hilmar
>Thanks for the input. Sorry it took so long to get back, but that solution did work. Fortunately, it is only packing slips and Bill of Ladings I am dealing with (1 to 3 pages). If the report had several hundred pages, that could cause processing delays users may not be willing to contend with.
>vince bologna
The only
safe solution seems to be to process the report twice. However, in some cases, you can calculate the number of pages just by counting the records - if you know for sure that you have exactly "x" records per page.
Packing slips might satisfy this requirement.
The calculation would be something like this:
RecordsPerPage = 10
NumberOfPages = ceiling(recno() / RecordsPerPage)
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)