“WARNING: Error in the metadata of the table …” on opening database

痞子三分冷 提交于 2019-12-12 17:59:19

问题


I'm getting a warning message like this when connecting to some databases:

Error in the metadata of the table tblCourses: table's row count in the metadata is 69 but 37 records have been found and loaded by UCanAccess. All will work fine, but it's better to repair your database.

The records in my database were not all retrieve. I didn't know row count is gotten from metadata?

Anyone who knows how to solve this bug?


回答1:


It's not a bug. UCanAccess is simply reporting that the row count in the metadata does not match the actual number of rows in the table. This is apparently due (at least in part) to some carelessness in the coding of Access, since one way to recreate the issue is to insert and delete rows from a table in Datasheet View in Access itself.

If you want the warning to go away then just open the database file in Access and perform a "Compact and Repair Database" operation.



来源:https://stackoverflow.com/questions/32596720/warning-error-in-the-metadata-of-the-table-on-opening-database

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!