I am attempting to run a Crystal report from a VB (6.0) app
that is based on a SQL 7 stored procedure. Everything works
fine on my pc, but when I distribute the app I get a message
that SQL Server can't be opened when I click on the menu item that runs the report.
The pc where the distributed app resides does have access to the SQL 7 database where the stored procedure resides.
The VB app uses the Crystal control and the code used to
invoke the report is as follows:
Private Sub mnuCal_Click()
Report2.Action = 1
End Sub
When this code is executed, the Crystal environment is then
displayed, followed by the error message.
Perhaps I need more code to make the connection to SQL 7, but then why does everything work OK on my development pc?
Any help would be appreciated.
that is based on a SQL 7 stored procedure. Everything works
fine on my pc, but when I distribute the app I get a message
that SQL Server can't be opened when I click on the menu item that runs the report.
The pc where the distributed app resides does have access to the SQL 7 database where the stored procedure resides.
The VB app uses the Crystal control and the code used to
invoke the report is as follows:
Private Sub mnuCal_Click()
Report2.Action = 1
End Sub
When this code is executed, the Crystal environment is then
displayed, followed by the error message.
Perhaps I need more code to make the connection to SQL 7, but then why does everything work OK on my development pc?
Any help would be appreciated.