K
KC via AccessMonster.com
I have a report that I copy (CopyObject acReport) during Runtime so that I can rename it and print/save as PDF (via Distiller).
The report has references to sub-reports - and works fine when opening normally. However, when I try to send the 'copy' to print as PDF the fields that reference the sub-reports error out.
Does anyone know of a way to get this to work? Do I have to do something special after the copy command to get all of the references to work?
I have also tried just opening the report...and then printing as PDF manually...but the same problem with the "sub" references.
Thanks in advance for any suggestions.
The report has references to sub-reports - and works fine when opening normally. However, when I try to send the 'copy' to print as PDF the fields that reference the sub-reports error out.
Does anyone know of a way to get this to work? Do I have to do something special after the copy command to get all of the references to work?
I have also tried just opening the report...and then printing as PDF manually...but the same problem with the "sub" references.
Thanks in advance for any suggestions.