cfriedberg
MIS
I have several Crystal Reports that I want to produce through VB 6.0 and SQL Server 2000. I have developed these reports outside of VB and want to integrate them at this time. I have used the RDC with a DSR method. And then I used the following line of code to connect to the data base:
crInvoices.Database.LogOnServer "P2SSql.DLL", "srvername", "DataBase", "UserID", "password"
Of course with the proper values for my database.
The report prompts for the required parameters. I enter them and then the whole process chokes and VB closes.
This report works just fine from within the Crystal envirnoment.
Help!
crInvoices.Database.LogOnServer "P2SSql.DLL", "srvername", "DataBase", "UserID", "password"
Of course with the proper values for my database.
The report prompts for the required parameters. I enter them and then the whole process chokes and VB closes.
This report works just fine from within the Crystal envirnoment.
Help!