Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password in Crystal Report

Status
Not open for further replies.

arna

Programmer
Joined
Sep 14, 2001
Messages
5
Location
IN
I am using Visual Basic , Crystal Report 4.6 and MS Access 97 . Now I have designed a Report using Crystal report 4.6 . The Database is in MS Access and the Database is password Protected .
I am using the following code to Display the Report .


CR1.ReportFileName = App.path & "\pur.rpt"
CR1.DataFiles(0) = App.path & "\Inventory.mdb"
CR1.Password = "password"
CR1.Destination = crptToWindow
CR1.Action = crRunReport
So when I execute this code the Crystal Report asks for password . So what should I do in order to the have the password coded in the programe so that user is not disturbed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top