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\crystal 32.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
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\crystal
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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