0
votes

I have an old Microsoft Access program for old client in my company and they forget the connection string. I have linked tables to SQL server database using ODBC - can I retrieve username and password? I already tried to get the connection string using the property In the Design view but the username and password are hidden. Please help me. Thanks.

enter image description here

1
If there are Pass-Through queries, it's visible in their properties. - Andre

1 Answers

0
votes

It's only hidden in the UI for linked tables. The actual connect string is readily available in VBA, e.g. in the Immediate window:

Debug.Print CurrentDb.TableDefs("MyLinkedTable").Connect