C
Carter Harvey
Currently using VB to print batches of reports to Acrobat
Distiller. Only problem is that the resulting PDF's are
automatically named the report name. The pdf's have to be
moved into a separate folder before the batch is run for
the next client, or the pdf's will be overwritten. I'd
like to be able to dynamically name the reports as they're
printed so the whole batch can loop for each client.
If the Caption is defined in the report, the PDF will use
the Caption. I've tried setting the report caption OnOpen:
me.caption = [customerID]&"Report Section"
While this works for Print Preview, when printing using
openreport, the caption is not set. However, other
commands in the OnOpen execute properly..
Why does the above expression not get evaluated before
printing while other commands do? Is there another way to
dynamically set the caption before print?
Thanks for any help,
Carter
Distiller. Only problem is that the resulting PDF's are
automatically named the report name. The pdf's have to be
moved into a separate folder before the batch is run for
the next client, or the pdf's will be overwritten. I'd
like to be able to dynamically name the reports as they're
printed so the whole batch can loop for each client.
If the Caption is defined in the report, the PDF will use
the Caption. I've tried setting the report caption OnOpen:
me.caption = [customerID]&"Report Section"
While this works for Print Preview, when printing using
openreport, the caption is not set. However, other
commands in the OnOpen execute properly..
Why does the above expression not get evaluated before
printing while other commands do? Is there another way to
dynamically set the caption before print?
Thanks for any help,
Carter