How to modify connection string for DSN less linked table

G

Guest

We had a need to modify the SA password on our SQL Server. There is a legacy access aplication that uses linked tables pointing to our SQL Server. I checked the workstation of one of the users of the application and there is no DSN so I am assuming that the linked tables connect without a DSN. The problem is that I can not find where this can be modified in access. I looked at all the modules and did not see anything

Help!
 
P

Phil Hunt

Under Tools/Table Manager menu, you may find how the tables are linked. It
probably uses an ODBC.


Brian said:
We had a need to modify the SA password on our SQL Server. There is a
legacy access aplication that uses linked tables pointing to our SQL Server.
I checked the workstation of one of the users of the application and there
is no DSN so I am assuming that the linked tables connect without a DSN. The
problem is that I can not find where this can be modified in access. I
looked at all the modules and did not see anything.
 
T

Tim Ferguson

of one of the users of the
application and there is no DSN so I am assuming that the linked
tables connect without a DSN. The problem is that I can not find where
this can be modified in access.

Check the connect property of the tabledefs:

' use a proper variable here, not currentdb()
for each tdf in db.tabledefs
' you need to check the constant
if tdf.attibutes AND acLinkedTable Then
debug.print tdf.Name & ", " & tdf.Connect
End if

next tdf

The structure of the Connect property is explained in the help files, so
you can rebuild it with the correct access parameters.

Hope that helps


Tim F
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top