>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
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.
OffThere is no place like [::1]