troubleshooting Question

Table " cannot be found

Avatar of Bandit88_Johnson
Bandit88_Johnson asked on
Visual Basic Classic
4 Comments1 Solution533 ViewsLast Modified:
VB6 DESIGNERS & CRYSTAL REPORT9
ERROR: Table " cannot be found!
I have tried everthing I know to solve this problem including:
 CurrentDataBaseName=F:\JEMSWIN\JEMSVB\JEMSDB.MDB
frmRecPrinting.Report11.Database.Tables(1).SetLogOnInfo "", CurrentDataBaseName, "", DBPassword
 frmRecPrinting.Report11.Database.Tables(1).Location = CurrentDataBaseName
set frmRecPrinting.Report11=nothing
DOEVENTS
SLEEP(100)
Report11.VerifyOnEveryPrint = True
Report11.DiscardSavedData
Problem occurs when the database changes locations. When you look at the designer, database location remains in default location and Verfiy on Every print is checked. If in the designer, you reset the database location, then this stuff works, but that won't work when the package is deployed.
What causes this error and how can it be fixed?
ASKER CERTIFIED SOLUTION
jrm213jrm213

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros