Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6 Printer Settings in .frx
Message
De
04/05/2015 15:36:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619320
Message ID:
01619395
Vues:
36
>>>>>>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.
Thanks for the tip, Mel
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform