Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank fields after printing
Message
From
26/10/2000 18:41:25
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00434670
Message ID:
00434933
Views:
17
>>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

It works! Thanks Wayne! (this is really strange, I didn't have problems with other forms...)
Thanks!
~d
J
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform