Yes, you can, but it takes a little workaround. First, create a Public
Function to return the name of the linked table:
Public Function LinkedTableSource(strTableName As String) As String
On Error Resume Next
LinkedTableSource = CurrentDb.TableDefs(strTableName).Connect
End Function
Now, you can use that function in the SQL of a query:
SELECT MSYSOBJECTS.Name, LinkedTableSource([name]) AS ConnectInfo
FROM MSYSOBJECTS
WHERE MSYSOBJECTS.Type=6
Note: Type = 6 is the criteria for only selecting linked tables in
Access.
You can also use this function in a report, form, etc. I didn't
include any handling of errors, you might want to in your application.
Chris Nebinger