General information
Category:
Reports & Report designer
Environment versions
Network:
Windows 2008 Server
>>>>>This must have been asked and answered many times before, but I can't find it.
>>>>>Is there any way to prevent VFP from saving printers settings in the .frx?
>>>>>I have a written a utility that removes them, but it would be nice if they weren't there.
>>>>
>>>>Your way is the only secure one in your version.
>>>>
>>>>The only thing you can improve is to write a project hook (i guess it was introduced with V 6) that will do the job on every project compile.
>>>>For all I remember on V 6 it was wise to pack vcx's (possibly scx's) an the same place.
>>>>
>>>That's a good thought but this is an SBT application that doesn't use a project.
>>>So I have to remember to run the utility or wait till the client complains.
>>
>>The link to SBT is very strange. :)
>>
>>Without a project there is nothing that can hook on changes. :(
>>
>>OTOH if it is not compile into anything you can do the remove just before REPORT FORM in the running prog.
>
>Good thought, Lutz.
>I wonder if that would be an issue if someone else had the report in use.
Bill, I always copy the Frx/frt to a new temp file (so I am using a copy of the original report) and then strip the printer info out as needed from the temp file, then erase this when done. I do this in case I forget to to strip the printer info from the original shipping copy. So they are actually always printing from the temp copy I create on the fly.
As a side note I allow the temp copy to be saved as a custom/modified report which the user can modify as needed depending on the application.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only