Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing report name for PDF
Message
De
09/06/2015 11:00:55
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
09/06/2015 10:37:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01620780
Message ID:
01620782
Vues:
81
This message has been marked as the solution to the initial question of the thread.
>Hi All:
>
>I have the following command:
>
>
>REPORT FORM BLARG TO PRINTER PROMPT PREVIEW
>
>
>If I click the 'print' icon, I get a dialog to choose printers. If I choose the 'CUTEPDF' printer, a PDF report is created with the name 'BLARG.PDF'.
>
>How can I get a more descriptive pdf name to be created like 'Batch_1001.PDF'?
>
>Thanks,
>
>Yossi

You need reportbehaviour on 90
*tnListenerType you have to figure out from help
DO (_REPORTOUTPUT) WITH tnListenerType,loListener
loListener.PRINTJOBNAME = cDecriptiveName
REPORT FORM BLARG TO PRINTER PROMPT PREVIEW OBJECT loListener
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform