I have created my first crystal report and now want to access it through VB.

I have added the Crystal Reports component

I have dimmed as a Crystal Report

Do I now use the set command to point the program to my report?

Code:
Dim NameGraph As CrystalReport
Set NameGraph = "c:\reports\eventnamegraph.rpt"
This gives me a type mismatch error.

Thanks in advance


------------------
Boothman
There is a war out there and it is about who controls the information, it's all about the information.