|
-
Apr 18th, 2005, 10:45 PM
#1
Thread Starter
Junior Member
Crystall With Password Protected MS ACCESS help!
hi im using crystal with ms access with password database, my problem is login dialog persist when i run the report on my vb application, im using crystal viewer 9 and vb 6, thanks a lot!
Dim lApplication As CRAXDRT.Application
Dim lReport As CRAXDRT.Report
Dim strselection As String
Set lApplication = New CRAXDDRT.Application
Set lReport = lApplication.OpenReport(App.Path & "\TestReport.RPT", 1)
cr.ReportSource = lReport
cr.Refresh
cr.ViewReport
-
Apr 19th, 2005, 06:57 AM
#2
Re: Crystall With Password Protected MS ACCESS help!
Are you opening the database (and thereby passing the password to the connection string) before running the report?
-
Apr 19th, 2005, 07:01 PM
#3
Thread Starter
Junior Member
Re: Crystall With Password Protected MS ACCESS help!
ahh no, when i design/create the report i already set the password for the database so that crystal can connect and retrieve the db structure, do i have to specify the password when i call the report in vb? if so how can i?, thanks a lot!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|