Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing to PDF Changes Directory
Message
 
À
16/07/2004 11:38:21
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00925197
Message ID:
00925284
Vues:
11
We do something like this:

lcCurDir = "C:" + CURDIR()

** Process report where PDF can be printed

CD (lcCurDir)


>When printing reports, a user has the option of printing to PDF. The problem is that when they select the file to print to, the current directory is changed. I can save the directory before they print and restore it afterwards, but the report itself contains functions and it can't find them when printing. How can I print to PDF but still keep my directory/path for my report functions?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform