Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
# Pages in printer PROMPT window?
Message
 
To
19/07/2004 18:57:07
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00925920
Message ID:
00926080
Views:
14
Chris

This is the code we use in reports, you have to "vfp 7 & 8 anyway"
	********************************************************************************
	* 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 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform