Debug, and see if _pageno is within the expected range.
>Hi, I seem to be having a problem with the range clause...
>
>I built a Printer dialog where they can type in the page range.
>Since I don't know how many pages there will be (without running the report first) I set the default to 1 to 30.
>
>It seems on some computers only the print clause:
>REPORT FORM (cTempFrx) RANGE nStartPage , nEndPage NOEJECT NOCONSOLE TO PRINTER
>
>Cause the print dialog to come up but nothing to print...
>As soon as I remove the range clause it works...
>
>The report has only 1 or 2 pages in this case do you think having an incorrect page range could be causing the problem?
>
>Thanks.
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)