Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank fields after printing
Message
 
 
To
26/10/2000 12:21:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00434670
Message ID:
00434673
Views:
12
>When printing a report from the form, after the report is successfully sent to the printer, the form fields blank out. However if I preview the report from the form, cancel it and return to the form, the fields are intact. Why did the fields blank out after I print the report to the printer but not preview?
>
>The code reads as follows:
>
>In cmdPrint.click()
>* Print report to printer
>REPORT FORM reports\planrpt NOEJECT NOCONSOLE TO PRINTER for PlanType = thisform.txtPlanType.value

Dodi,

You are probably at end of file. Try:

nThisRecord = RECNO()
REPORT FORM blah blah
GO nThisRecord
\/\/ayne
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform