Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer controls
Message
 
 
To
30/11/2004 08:02:59
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00965670
Message ID:
00965727
Views:
9
>In later versions of VFP this problem is fixed. For earlier versions I have this program called MODIREPORT, you may have to adjust it a little bit to suit your need. In stead of MODIFY REPORT XXX you enter DO MODIREPORT WITH 'mydir\myreport.frx'. You must always include the extension, and also the path if it's not in the default directory.
>lparameters lcfile
>IF PCOUNT()>0 and file(lcFile)
>  modi repo (lcFile)
>  USE (lcFile)
>  REPLACE EXPR WITH "", TAG WITH "", TAG2 WITH ""
>  USE
>ENDIF
>
>
>>when creating reports the name of the printer is automatically stored , it then becomes difficult to print the report on another printer , especially if the user changes his printer.
>>
>>i do know that we can open the report file as a table and remove the printer info but is there any program which can do this automatically or is there a way to not store this info in the first place.

You should not completely clear the Expr field. Yuri Rubinov published a program to fix Expr field removing only printer specific info. Let me see, if I have modification of this program in my function library...
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform