By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,561 Members | 3,221 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,561 IT Pros & Developers. It's quick & easy.

linked table

P: 3
Where does ms access store passwords for linked tables? I have a table that occasionally loses it's password.
Nov 15 '08 #1
Share this Question
Share on Google+
3 Replies

Expert 2.5K+
P: 3,072
Open the linked table in design mode. The select View/Properties and in the description the link will be visible with the UID and Password.

You can relink such a table using code like:
Expand|Select|Wrap|Line Numbers
  1. Dim td As DAO.TableDef
  3. For Each td In CurrentDb.TableDefs
  4.   If = "<YouLinkedTableName>" Then
  5.      td.Connect = "<YourNeededLinkWithUserID/Password>"
  6.      td.RefreshLink
  7.   End If
  8. Next
Just relace the <..> fields as needed.

Nov 16 '08 #2

P: 3
There is no password in there.... Is there another place to look?
Nov 17 '08 #3

Expert 2.5K+
P: 3,072
Not that I'm aware.
Perhaps there's no UID/PW required for your excel workbook.

When there is, you could try to add hem to the link.

Nov 17 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.