Identify module calling a report

Magster

Registered User.
Local time
Today, 01:39
Joined
Jul 30, 2008
Messages
115
Hi,

I want to hide a field on my report when it is called from one specific module. I thought that I'd just pass an openarg so I could check the openargs but I can't do that with the code I am using to output the report to PDF - the code is:

DoCmd.OutputTo acOutputReport, "rptProjectSheet", acFormatPDF, strFileNameAndPath

So, I thought I'd reverse it and see if I can identify the module that calls the report.

Any thoughts?

Thanks for reading this..
 

Users who are viewing this thread

Back
Top Bottom