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


nico5038
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
  2.  
  3. For Each td In CurrentDb.TableDefs
  4.   If td.name = "<YouLinkedTableName>" Then
  5.      td.Connect = "<YourNeededLinkWithUserID/Password>"
  6.      td.RefreshLink
  7.   End If
  8. Next
  9.  
Just relace the <..> fields as needed.

Nic;o)
Nov 16 '08 #2

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

nico5038
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.

Nic;o)
Nov 17 '08 #4

Post your reply

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