ok whenever i try to generate a report from vb i get an error saying "Cannot open SQL server" i have no clue why its happening.
Private Sub cmdReport_Click()
CrystalReport1.ReportFileName = "test.rpt"
CrystalReport1.Action = 1
End Sub
Now the test.rpt only has 1 field in it, taken from an ODBC connection. When I preview the test.rpt in crystal it shows up just fine, but when I try to run it from vb i get that error. Someone plz help
Private Sub cmdReport_Click()
CrystalReport1.ReportFileName = "test.rpt"
CrystalReport1.Action = 1
End Sub
Now the test.rpt only has 1 field in it, taken from an ODBC connection. When I preview the test.rpt in crystal it shows up just fine, but when I try to run it from vb i get that error. Someone plz help