Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Printers in code
Message
 
 
À
10/08/2009 16:09:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01417163
Message ID:
01417177
Vues:
55
>I have looked at my code, and think I may have found the problem. Does the command SET PRINTER TO NAME need the variable name in () after the command?
>If so, then that is my problem,

Yes, the variable name must in in parens.

E.g.

lcPrinterName = getprinter()

set printer to name (lcPrinterName)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform