PDA

Click to See Complete Forum and Search --> : Issue Running Crystal Report though a VB App


fmrock
Apr 22nd, 2008, 02:20 PM
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


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

Hack
Apr 23rd, 2008, 12:33 PM
What do all these users have in common that the other users do not?