Solved

The database table "xxxx" cannot be found.

Posted on 2015-02-02
9
226 Views
Last Modified: 2015-02-03
I have a Crystal Report that gives me the error  'The database table "xxx" cannot be found. Proceed to remove this table from the report?' when I try to run it for the first time. I click no (there are 2 tables so this happens twice) and then the report runs fine. If I refresh the report again it does not happen but occurs every time if I click on Verify Database from the Database Menu. I am connecting to a MYSQL Database using an OLE DB (ADO) connection.
0
Comment
Question by:jb25
9 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 40584381
Does the table exist?

DO you have VERIFY DATABASE ON OPEN set in the report options or in options?
Check the FILE menu

mlmcc
0
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 40584421
Verify correct capitalization of your table name.  

If you're accustomed to MS DB's (SQL Server or Access), you likely assume that table names are not case-sensitive.  But ... when dealing with MySQL as usually installed on a Linux system ... that assumption is wrong.
0
 

Author Closing Comment

by:jb25
ID: 40584472
Verify on First Refresh was checked in the Report Options. I unchecked it and the report runs fine now. Thanks for your prompt reply.
0
 
LVL 18

Expert Comment

by:vasto
ID: 40584641
Re you sure that the report runs ? Check if you are using saved data
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:jb25
ID: 40584710
The report runs correctly. The data is up to date. I'm not sure why but it seems the only problem is that the database won't verify.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 40584796
Can you refresh the data?

mlmcc
0
 

Author Comment

by:jb25
ID: 40584842
Yes, refresh works, verify doesn't.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 40585461
Is the problem table used in the report?

mlmcc
0
 

Author Comment

by:jb25
ID: 40587138
Yes. The report uses 2 tables,  both won't verify but will refresh correctly.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
More Fun with XML and MySQL – Parsing Delimited String with a Single SQL Statement Are you ready for another of my SQL tidbits?  Hopefully so, as in this adventure, I will be covering a topic that comes up a lot which is parsing a comma (or other…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now