AndrewMozley
Programmer
I have an application which has many reports. Each report uses a pair of .frx/.frt files which defines the layout of the report. These report layouts are not bound into the executable program (.exe), because some users may want to modify a report or provide their own layout. So the report layouts (as issued) are in sub-folder reports, and the user’s modified reports (if any) are in folder replocal (which is specified earlier in the path).
Sometimes I have re-issued the system (including the reports folder), and (by mistake) I have left the ‘Printer environment’ option ticked on one of the layouts.
The application gives each user the option – at the time of running a report – of sending it to printer, to screen, to Excel, or to a pdf printer; I use Bullzip, but realise that there are several other drivers available.
If (by chance, my error), I have issued a .frx/.frt report definition with the ‘Data environment checked, and the user has asked for the report to go to pdf, then my SET PRINTER TO <pdfprinter> is ineffective at run-time.
Is there a way that I can over-write the checked ‘Printer environment’ option. Or could a kindly Tek-Tips subscriber provide a utility which could tidy up these ‘Data environment’ settings in a .frt file, and I can then issue this utility as part of the application.
Thank you - Andrew
Sometimes I have re-issued the system (including the reports folder), and (by mistake) I have left the ‘Printer environment’ option ticked on one of the layouts.
The application gives each user the option – at the time of running a report – of sending it to printer, to screen, to Excel, or to a pdf printer; I use Bullzip, but realise that there are several other drivers available.
If (by chance, my error), I have issued a .frx/.frt report definition with the ‘Data environment checked, and the user has asked for the report to go to pdf, then my SET PRINTER TO <pdfprinter> is ineffective at run-time.
Is there a way that I can over-write the checked ‘Printer environment’ option. Or could a kindly Tek-Tips subscriber provide a utility which could tidy up these ‘Data environment’ settings in a .frt file, and I can then issue this utility as part of the application.
Thank you - Andrew