******************************************************************************** * We run the the print routine once to get the last page number * The first time, it goes to a text file ******************************************************************************** gnLastPage=0 REPORT FORM ctPref TO c:\tmpFile.txt noconsole gnLastPage=_pageno SELECT prtcard ******************************************************************************** * Print the report/pref card ******************************************************************************** REPORT FORM ctPref TO PRINTER PROMPT PREVIEW