set a reference to a report

norm

Registered User.
Local time
Today, 17:49
Joined
Sep 20, 2000
Messages
62
I'm trying to set a reference to a report from a form module but getting Run-time error 424: Object Required

Is there a way to do this other than explicitly? Thank you for any help.

...
Dim rpt As Report
Dim YO As Variant
YO = "Reports!" & strReportName
Set rpt = YO
'HERE IS WHERE I WOULD SETREPORTPROPERTIES USING RPT
 
Hi Pat,

I appreciate you taking the time to help. My question was more specifically about setting references than setting properties. If you can point me the right direction, i would appreciate it.

thanks,
norm
 

Users who are viewing this thread

Back
Top Bottom