Hi,
I am using Crystal Reports 8.0 which directly connects to Access 2000. I am opening the report through visual basic 6.0, Crystal Reports Control(crystl32.ocx).
The program I am working on requires multiple of reports with different ranges. In the begining the report preview worked fine and after about 20 something previews, I can't get any report preview to open up. Instead i got a runtime error 20544.
"Access to report file denied. Another program may be using it."
I know that another program isn't using it except for the one I am using. The report sits on the server and VB program is on the client end. I am stump. When I hit debug from VB it highlight CrystalReport1.action = 1
Here's my code from VB
CrystalReport1.ReportFileName = "F:\Report\Test.rpt;true;"
CrystalReport1.ParameterFields(0) = "strSQL;" & strRange
CrystalReport1.ParameterFields(1) = "Sortby;" & strSort
CrystalReport1.ReplaceSelectionFormula (strRange)
CrystalReport1.Action = 1
I've tried logging off the network, reboot, refresh the report and so far nothing works. I've had this problem for a week and the error is still there.
I've checked with seagate support and found this article
I tried to create a temporary copy and when I use
Dim crpReport as Crpeaute.Report
Dim crpApplication as New Crpeauto.Application
I didn't get intellisence from VB so I know I must be missing something but don't know what.
I appreicate any help. Thanks in advance.
I am using Crystal Reports 8.0 which directly connects to Access 2000. I am opening the report through visual basic 6.0, Crystal Reports Control(crystl32.ocx).
The program I am working on requires multiple of reports with different ranges. In the begining the report preview worked fine and after about 20 something previews, I can't get any report preview to open up. Instead i got a runtime error 20544.
"Access to report file denied. Another program may be using it."
I know that another program isn't using it except for the one I am using. The report sits on the server and VB program is on the client end. I am stump. When I hit debug from VB it highlight CrystalReport1.action = 1
Here's my code from VB
CrystalReport1.ReportFileName = "F:\Report\Test.rpt;true;"
CrystalReport1.ParameterFields(0) = "strSQL;" & strRange
CrystalReport1.ParameterFields(1) = "Sortby;" & strSort
CrystalReport1.ReplaceSelectionFormula (strRange)
CrystalReport1.Action = 1
I've tried logging off the network, reboot, refresh the report and so far nothing works. I've had this problem for a week and the error is still there.
I've checked with seagate support and found this article
I tried to create a temporary copy and when I use
Dim crpReport as Crpeaute.Report
Dim crpApplication as New Crpeauto.Application
I didn't get intellisence from VB so I know I must be missing something but don't know what.
I appreicate any help. Thanks in advance.