| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | Newsletters | VB Forums | Developer.com |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
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!! |
|
#2
|
|||
|
|||
|
Re: DAO Error code 0xbd7
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. |
![]() |
| Bookmarks |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|