Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printer Environment behaviour new to me
Message
De
21/04/2015 18:48:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Printer Environment behaviour new to me
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01618927
Message ID:
01618927
Vues:
86
Some earlier versions of VFP always save the printer environment when reports are saved. This causes reports developed in one environment to not always run properly in a different environment where printers are different. This is an issue when distributing reports; one has to manually open the .FRX as a table, go to the first row, and delete unnecessary cruft from the .Expr, .Tag and .Tag2 columns.

VFP9 (and maybe earlier versions too, haven't checked) recognizes this issue. In Tools...Options...Reports tab, there is a global option to "Save printer environment", which by default is disabled. So far so good.

However, if:

- You are given a report .FRX/.FRT where the printer environment has been saved (whether in VFP9 or some earlier version)
- The printer stored in the report is NOT present in your environment
- You modify and save the report

Then, YOUR default printer information/environment is saved with the report, even though the global save option is disabled.

When you send the report back, the user complains it doesn't print properly any more.

That's behaviour that was new for me - maybe this message will save someone else some head-scratching.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform