Crystal Report not printing
I'm just a beginner, so be gentle. Quite awhile ago, I created some Crystal Reports and was able to print them using the following code:
CrystalReport1.ReportFileName = "C:\Motor Program\... .rpt"
CrystalReport1.Action = 1
Alot of time has expired since creating and running this, but I can't remember changing anything but upgrading to VB5 and suddenly, I am not able to print out my reports. I now get prompted with a compile error message box which says "Method or data member not found". This action highlights the ".ReportFileName = " portion of my code.
Any ideas what I need to do here to correct my dilemma? Your help will be greatly appreciated. Thanks.
[709 byte] By [
GBenz] at [2007-11-18 2:12:21]

# 2 Re: Crystal Report not printing
Thanks for your quick response, but I viewed my References and the Crystal Report Control 4.6 box was, in fact, checked. Any other ideas?
GBenz at 2007-11-10 0:03:40 >

# 3 Re: Crystal Report not printing
The control box is under "Components", but I think there's a Viewer Control that you have to check on under "References" as well.
I just noticed you said you're running VB5. The info I'm giving could be for VB6 only. I can't remember. It's been years since I ran VB5............
Dave
# 4 Re: Crystal Report not printing
Thanks again Dave, but the Crystal Report Control in both Components and References was checked. I also looked for the Viewer Control that you mentioned and the only one that I could find was "SAP IR Viewer Controller". Just to make sure, I tried this as well, to no avail.
Still scratching my head.
GBenz at 2007-11-10 0:05:35 >
