Hi
I have a button in vb calling crsytal reports 9 . These reports are opening in cr viewer. I have an access database secured with a password. I can open the report but when I go to enter new parameters in the cr viewer, I get this error.
"LOGON FAILED"
Details: DAO Error Code 0xbd7
Source: Dao.Workspace
Description: Not a valid Password
Im lost on this one and I would be grateful for some help.
Thanks!!Hello,
This is in C#, I thing it can help you :
crystalReportDocument1.DataSourceConnections[0].SetConnection(SERVER, Database, "USERNAME", "YOUR PASSWORD"); crystalReportViewer1.ReportSource = crystalReportDocument1;
I use Microsoft Access file, so I left the Username blank, and for Server and Database put the new path to my .mdb file.
I hope it helps.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment