camlearner
Dec 1st, 2005, 05:53 AM
I want to change the connectiong string to open Crystal Report(built-in) in VB.NET(2005).
Dim rpt As New rptInvoice
rpt.SetDatabaseLogon(userid,password,servername,databasename)
CrystalViewer1.ReportSource=rpt
CrystalViewer1.Show()
But the ServerName does not change. It still alert a message to input username and password(disable the field servername).
Please help me.
Dim rpt As New rptInvoice
rpt.SetDatabaseLogon(userid,password,servername,databasename)
CrystalViewer1.ReportSource=rpt
CrystalViewer1.Show()
But the ServerName does not change. It still alert a message to input username and password(disable the field servername).
Please help me.