M
mt
Hello everyone:
I am using vb.net 2002, msde2000 database, and windows 98,and i set up .net
framework 1.1 and MDAC 2.7 and msde2000 ,everything fine but
i have a problem,i load a report I see "Load report failed"
my code and dialog message down here
please help me
-----
Dim tbCurrent As CrystalDecisions.CrystalReports.Engine.Table
Dim tliCurrent As CrystalDecisions.Shared.TableLogOnInfo
Dim rptExpensiveProducts As New ReportDocument()
Try
rptExpensiveProducts.Load("c:\program files\hhh\crystalreport1.rpt")
For Each tbCurrent In rptExpensiveProducts.Database.Tables
tliCurrent = tbCurrent.LogOnInfo
With tliCurrent.ConnectionInfo
..ServerName = "(local)" ----->or localhost I tryed
..UserID = "sa"
..Password = ""
..DatabaseName = "Northwind"
End With
tbCurrent.ApplyLogOnInfo(tliCurrent)
Next tbCurrent
crvBasic.ReportSource = rptExpensiveProducts
----------------
and dialog message is here
database= (local)
login=
password=
tables=customers
I am using vb.net 2002, msde2000 database, and windows 98,and i set up .net
framework 1.1 and MDAC 2.7 and msde2000 ,everything fine but
i have a problem,i load a report I see "Load report failed"
my code and dialog message down here
please help me
-----
Dim tbCurrent As CrystalDecisions.CrystalReports.Engine.Table
Dim tliCurrent As CrystalDecisions.Shared.TableLogOnInfo
Dim rptExpensiveProducts As New ReportDocument()
Try
rptExpensiveProducts.Load("c:\program files\hhh\crystalreport1.rpt")
For Each tbCurrent In rptExpensiveProducts.Database.Tables
tliCurrent = tbCurrent.LogOnInfo
With tliCurrent.ConnectionInfo
..ServerName = "(local)" ----->or localhost I tryed
..UserID = "sa"
..Password = ""
..DatabaseName = "Northwind"
End With
tbCurrent.ApplyLogOnInfo(tliCurrent)
Next tbCurrent
crvBasic.ReportSource = rptExpensiveProducts
----------------
and dialog message is here
database= (local)
login=
password=
tables=customers