Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to turn off Printer Environment?
Message
From
03/11/2008 14:00:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
How to turn off Printer Environment?
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01359237
Message ID:
01359237
Views:
80
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
Next
Reply
Map
View

Click here to load this message in the networking platform