Results 1 to 2 of 2

Thread: Issue Running Crystal Report though a VB App

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2007
    Location
    Ft Myers, FL
    Posts
    7

    Issue Running Crystal Report though a VB App

    Hey Everyone,

    We have an internal App we created, that gives the user the ability to run a bunch of different reports.

    A few users are having issues with it saying "The table '' could not be found".

    This is only happening for a small number of users, and is working for most.

    Here is a snip of code we are basicly using to run the CR from the VB app.

    Any ideas or help you may have would be great.

    Thanks

    Code:
        Set Report = crxApplication.OpenReport(App.Path & "\" & gsCrystalReportName & ".rpt", 1)
    
    
            For iCtr = 1 To Report.Database.Tables.Count
                Report.Database.Tables.Item(iCtr).SetLogOnInfo "server", "DB", "username", "password"
            Next iCtr
       
    
        CRViewer1.ReportSource = Report
        CRViewer1.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: Issue Running Crystal Report though a VB App

    What do all these users have in common that the other users do not?

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