Click here to Skip to main content
15,899,124 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have created Reports using CrystalReports adding four Access Database Connections.

My requirement is, It should never prompt for UserID and Password After I install It on Client's Computer.

I have also used parameters in Reports.

I know about how to pass login credentails design time but not sure If It will prompt again after Installation at Client PC.

I also Tried

VB
CrystalDecisions.Shared.ConnectionInfo


and went succeed, but failed when tried with report from multiple databases.
Posted

1 solution

Well, you haven't really asked a question. And the code you supplied...What is that? Where are you using it? Is this a web app? A windows forms? All of this information will help us help you.

The only advice I can supply is to research the CrystalReportDocument's .SetDataSource.

And here[^] is an MSDN article about Using the DataSourceConnections Class for Database Logon.

Hope it helps.
 
Share this answer
 

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