Able to run my report
Posted on 2001-06-27
I have created some reports using Crystal Reports 8.
After i have changed my PC, and tried to run my reports again, i couldn't. It is the same version of Crystal Report which i'm using in my new PC.
I tried a very simple code:
Private Sub Command1_Click()
CrystalReport1.ReportFileName = "C:\temp\report1.rpt"
CrystalReport1.SQLQuery = "select * from Table"
CrystalReport1.Connect = rdconn
CrystalReport1.Destination = crptToWindow
CrystalReport1.WindowState = crptMaximized
CrystalReport1.Action = 1
the code will fail in my Action method.
my error msg is:
Run-time error '-2147417848 (80010108)'
Method 'Action' of object 'CrystalCtrl' failed
i have search the help file, it says that my database is not verified. but i have tried, it is verified and pointing to the correct database.