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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report & Visual Basic & Database password protected

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm getting a run-time error 20534 when I try to access
a report in the application. The database is password protected.

The code I'm using is:

rptOpenJobs.ReportFileName = App.Path & "\openjobs.rpt"
rptOpenJobs.Password = "rollab123"
rptOpenJobs.SelectionFormula = "{Jobs.Status}=" & 1
rptOpenJobs.Action = 1

Some suggestion?
 
mondur: You will need to ensure that you have logged onto the data source by for example using SetLogonInfo method to pass password to database David C. Monks
david.monks@chase-international.com
Accredited Crystal Decisions Enterprise Partner
 
I am using Crystal version 4, with Visual Basic 6, the database is with Access 2000, when I trying open the report a message appears in the screen (in the program), "Put the Access password", the data base is not protected, I think that the problem is with the Crystal version.

Could you help me with this problem.
Thank you
Miguel Moreno
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top