Eric Said:
You can use:
Dim crReport as object
Set crReport = createobject(ReportName)
Éric Moreau, MCSD, MCT
Conseiller Principal / Senior Consultant
Concept S2i Inc. (
www.s2i.com)
----
I tried that and the command looks good but when I run the program I get run time error 429 - ActiveX component can't create object. Looking at the help text, it appears that createobject wants to only create an object if it is an ActiveX dll. The object I want to create it a Crystal Reports Designer (crBatchSummaryReport.dsr) that is part of the application. Will this work? Am I missing something else?
Thanks
GW Gross
"You are blessed when you're content with just who you are - no more, no less." Matthew 5:5 (The Message)