N
Nchantim
Wouldn't it be nice if we could programmatically change
the Caption property of a report BEFORE opening it, so
that my PDF writer could name the file as something
useful (i.e. based on the key in the WHERE clause passed
to the report).
It's hard to believe that it's seemingly impossible to do
this.
I've tried opening the report in preview mode (then
Report_Open fires, and you CAN change the caption), and
then open normal for printing, then close the report, but
with the Access 2002 runtime on some PCs, this results in
the second Open (Normal) completely ignoring the WHERE
clause.
the Caption property of a report BEFORE opening it, so
that my PDF writer could name the file as something
useful (i.e. based on the key in the WHERE clause passed
to the report).
It's hard to believe that it's seemingly impossible to do
this.
I've tried opening the report in preview mode (then
Report_Open fires, and you CAN change the caption), and
then open normal for printing, then close the report, but
with the Access 2002 runtime on some PCs, this results in
the second Open (Normal) completely ignoring the WHERE
clause.