Results 1 to 1 of 1

Thread: Access secure database with CrystalReports

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2004
    Location
    Netherlands
    Posts
    27

    Access secure database with CrystalReports

    Hi All,

    Sorry to crosspost this message, but I doubt I'll get answer on the CR forums, they aren't very busy...

    I have a question regarding CR & VB.Net

    I made a report in CR that connects to a secured database with a databasepassword (Office XP MS Access)
    For the report to work I entered the password for the database and that works fine.
    Now I added a report viewer in my app. that has ReportSource = SupplierOverview.rpt (The report I just mentioned)
    If I now start my app, the program will ask me for the database password, which was not supposed to be the idea!
    Can anyone tell me how I can send the password to the app automatically, so the user won't have to enter it each time?

    Thanks in advance!

    Edit: Closing this thread, I found the info I needed:
    VB Code:
    1. Dim oRpt As CrystalReport1
    2. oRpt = New CrystalReport1
    3. oRpt.SetDatabaseLogon("", "pater2002")
    Last edited by KoffieMok; Apr 16th, 2004 at 07:06 AM.
    *(^.^); c(_)

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