An application is developed Visual Basic 6 which uses Access 2000 as the database and Crystal report for reports. I've called reports in the VB code using the Action property of the report object. Now, when I run
the application the report does not load and I get the error, "Error : 20599 - Cannot open SQL server ".
I am not using SQL server but while creating reports I use the SQL/ODBC option and then select ODBC - MSAccess Database.
The second problem is that sometimes the report does load but it does not refreshes the data. It always shows the same data. And when I click the refresh button on the report it shows nothing i.e the report is blank. I've
tried all the possible options like :
- Refresh on Every Print option
- Discard saved data when loading reports
- Verify database on every print
- Save data with report etc.
Hope u can help me out of this mess.
the application the report does not load and I get the error, "Error : 20599 - Cannot open SQL server ".
I am not using SQL server but while creating reports I use the SQL/ODBC option and then select ODBC - MSAccess Database.
The second problem is that sometimes the report does load but it does not refreshes the data. It always shows the same data. And when I click the refresh button on the report it shows nothing i.e the report is blank. I've
tried all the possible options like :
- Refresh on Every Print option
- Discard saved data when loading reports
- Verify database on every print
- Save data with report etc.
Hope u can help me out of this mess.