You need to get your program to do a count of how many pages there are for each report. Then you can do a<br>_pageno+'of'+xyz.page_count<br>
Make sure you have some wording you can find in the report like "Page No#."<br>Report form to file temp.txt type acsII<br>open the file low level<br>goto end end of file<br>Look for "Page No#"<br>lnTotalpages = str(substr,xxxxxx,xxx,xxx)<br>close the file<br>in your report add the lnTotalPages memvar and reprinter to the printer. <p>David W. Grewe<br><a href=mailtoave@internationalbid.net>Dave@internationalbid.net</a><br><a href= > </a><br>
Of course if you are going to have to manually determine the number of pages in the report so that you can instantiate the variable (endpgno) you could run the report with the preview option--find the last page in the report and then fill the variable with that number then rerun the report to the printer. Doesn't seem very friendly does it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.