Results 1 to 3 of 3

Thread: Crystall With Password Protected MS ACCESS help!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Location
    Philippines
    Posts
    28

    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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Location
    Philippines
    Posts
    28

    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
  •  



Click Here to Expand Forum to Full Width