>>>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...)
Glad to help! There was probably something a little different on your other forms, like a persistent relationship, a unique environment, or something that maintained the record pointer after the report. No biggie there as a rule.
\/\/ayne