Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to turn off Printer Environment?
Message
From
04/11/2008 14:42:49
 
 
To
03/11/2008 14:00:17
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01359237
Message ID:
01359615
Views:
23
>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
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform