>I need to modify about 300 reports in the way that they don't save current printer information.
>It can be done manually by unchecking the "Printer Environment" option in Report menu.
>I also can erase printer info by running code
>
>SELECT 0
>USE (myreport.frx)
>LOCATE FOR (objtype = 1) AND (objcode = 53)
>IF FOUND()
> REPLACE expr WITH SUBSTR(expr, AT( "ORIENTATION", expr)), ;
> tag WITH "", ;
> tag2 WITH ""
>ENDIF
>
>Is there a way to turn off "Printer Environment" for report MYREPORT.FRX by modifying a field directly in the table MYREPORT.FRX.?
>
>Thanks
>
>Ed
See xdir in downloads here
There is function there which will mass-remove printer info
down entire folder structure (subfolders included)
So you run it on yr dev root and all reports get cleaned.
(Preserving ORIENTATION/PAGESIZE)
HTH
Sergio