| 
|  | 
[Vb.net] #CRYSTAL REPORT LOGON FAIL WITH PASSWORD PROTECTED ACCESS DATABASE
[复制链接] |  
 |  | 
 
 
 楼主|
发表于 27-11-2005 06:02 PM
|
显示全部楼层 |  |  |  |
 
|  |  |  
|  |  | 
 |  | 
 
 
 楼主|
发表于 29-11-2005 01:29 PM
|
显示全部楼层 
| 一生人第一单接的案子已经完成了95%,还有5%就是让user testing and deploy 了...希望没什么大问题~ 
 呵呵~~衷心感谢你们帮助我的第一次~谢谢谢谢~
  | 
 |  |  |  |
 
|  |  |  
|  |  | 
 |  | 
 
 
 楼主|
发表于 2-12-2005 04:20 PM
|
显示全部楼层 
CRYSTAL REPORT LOGON FAIL
| 我之前没有给ACCESS SET PASSWORD, 现在设定了。。。 
 程式依然可以跑。。。可是,CRYSTAL REPORT LOGON FAIL。。搜寻了很多,发现自己的编码和大家没什么差别...为什么会这样?
 
 
  Public rptCoupon As ReportDocument
 Dim crtableLogoninfos As New TableLogOnInfos
 Dim crtableLogoninfo As New TableLogOnInfo
 Dim crConnectionInfo As New ConnectionInfo
 Dim CrTables As Tables
 Dim CrTable As Table
 Dim crReportDocument As New ReportDocument
 
 crReportDocument.Load(couponPath)
 
 
 
 'Set the ConnectionInfo properties for logging on to
 'the Database
 
 
 
 With crConnectionInfo
 .ServerName = dataPath
 .DatabaseName = ""
 .UserID = "Admin"
 .Password = "atscrps"
 End With
 
 
 CrTables = crReportDocument.Database.Tables
 
 For Each CrTable In CrTables
 crtableLogoninfo = CrTable.LogOnInfo
 crtableLogoninfo.ConnectionInfo = crConnectionInfo
 CrTable.ApplyLogOnInfo(crtableLogoninfo)
 
 
 
 
 Next
 | 
 |  |  |  |
 
|  |  |  
|  |  | 
 |  | 
 
 
 楼主|
发表于 4-12-2005 01:48 AM
|
显示全部楼层 
| 似乎是CR9的bug........所以我解除data的密码了~~~~  | 
 |  |  |  |
 
|  |  |  
|  |  |  |  | 
            本周最热论坛帖子 |