Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I use access 2016 and ecrypting with password : 0101
I create some reports using crystal Report, then I try to load report ..
but getting failed log on ...

What I have tried:

lP1.SetDatabaseLogon("Admin", "0101")
lP1.SetParameterValue("Startdate", DPstart.Text)
lP1.SetParameterValue("Enddate", DPend.Text)

CRView1.ReportSource = lP1
CRView1.Show()
Posted
Updated 20-Sep-17 1:44am

1 solution

Crystal Reports doesn't support Access security. You can't use a password-protected database.
 
Share this answer
 
Comments
Khabibb Mubarakk 20-Sep-17 23:14pm    
sure ?
I don't have problem in main report preview with using password access.
but when I try to load using crystal report viewer getting log on dialog.. I enter correct password but nothing still going to log on dialog again..
Dave Kreskowiak 20-Sep-17 23:22pm    
Last I checked, yes, but that was probably four years ago.
Khabibb Mubarakk 21-Sep-17 2:18am    
how about use my sql ... get same like that ?
I never try use my sql

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900