Forum Discussion
Blank table names when trying to link ODBC tables in Microsoft Access
I am trying to create a linked table via External Data -> New Data Source -> From Other Sources -> ODBC Database in Microsoft Access. I am able to successfully connect, but when the Link Table window pops up, all of the table names are blank (see attached image) . If I try to click on one of the blank tables, an error message pops up saying "Invalid Argument".
I have been able to query the Datasource using the Query Designer, and I am able to see the tables in Excel when using the Data -> Get Data -> From Other Sources -> From ODBC. I have also been able to add some print statements to the ODBC code and I am seeing in the raw output from the SQLFetch function that the table name is present.
If anyone has any idea as to what may be happening, or even a way to somehow to debug the Microsoft Access calls that would be extremely helpful.
8 Replies
I've also had problems linking to tables that aren't in the default schema.
However, one other thought. In the Navigation options in Access, try ticking Hidden Objects and System Objects. Do the linked table names appear now?
- rfdomCopper ContributorI tried ticking "Hidden Objects and System Objects" and the tables still not show.
- George_HepworthSilver ContributorWhat is the data source again?
- George_HepworthSilver ContributorWhat schema are the tables in. It seems to me that I recall a problem displaying tables that aren't in the default dbo schema, but I may be conflating issues. Please verify whether this is a factor here or not. Thanks.
- rfdomCopper ContributorYes, all of our tables are outside the default schema.
- George_HepworthSilver ContributorI think Colin's suggestion should work here.