Link to home
Start Free TrialLog in
Avatar of brunswick
brunswick

asked on

run-time error 20504 using VB6 & Crystal Reports V8.5

Hi,
I am getting run-time error 20504 'Report Not Found'.
I am using VB6 and crystal reports v8.5.
I am using the crystal report control (c:\windows\system\crystal32.ocx)
My code is as follows:

With CrystalReport1
.ReportFileName = "c:\Report9.rpt"
.DataFiles(0) = "c:\db1.mdb"
.SelectionFormula = "{Athletes.AthleteNo} = " & x & ""
.Action = 0
End With
I get the error at .action
ASKER CERTIFIED SOLUTION
Avatar of MsLim
MsLim

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ayufans
ayufans

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- answered by MsLim

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

ayufans
Cleanup Volunteer