Tools>Options>Reports>Save Printer Environment ??
>>>>I didn't encounter this problem either but I didn't do a lot of reports lately. The Printer Environment checkbox is based on the Tag memo field in the first record. If it's not empty than it's checked.
>>>
>>>Right. I'm not sure why does it happen. May be someone else experience the same strange behavior, e.g. the Printer Environment saved by itself. Because I know for sure I didn't check this, yet my reports have this option checked.
>>
>>The SYS(1037,1) can fill the Printer Environment in the report.
>
>Thanks for the information. The only place where it's used in our project is in cEventLogForm.PrintError()
>
>LOCAL lcPrinter
>
>lcPrinter = SYS(1037)
>IF NOT EMPTY(lcPrinter)
> SET PRINTER TO NAME (lcPrinter)
>ENDIF
>lnRecNo = RECNO()
>REPORT FORM EventLog TO PRINTER NOCONSOLE RECORD lnRecNo
>
>So, something else is responsible. Anyway, we'll keep a watch on this behavior...
Phil Thomas
http://phillipdthomas.comNever let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....