PC Review


Reply
Thread Tools Rate Thread

Address of linked tables

 
 
Ruth Isaacs
Guest
Posts: n/a
 
      29th Jan 2006
Hello All

How can I find out the pathname and filename of the mdb that has the linked
tables in my frontend mdb? I have 'inherited' a situation (honestly!) where
I have an access97 frontend with lots of linked tables - which I suspect are
not all in the same backend. I'm sure there must be a way of getting at the
pathname and filename for a particular table (right-click and properties
would have been too obvious!) but cannot see how.

NB Linked Table Manager is not installed and I do not have an A97 CD.

Hope someone can help.

Many thanks
Leslie Isaacs


 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      29th Jan 2006
The path is in the Connect property of the TableDef, e.g.:
CurrentDb.TableDefs("MyLinkedTable").Connect

If you can open the table in design view, Access shows this in the
Description of the table (in the Properties box.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Ruth Isaacs" <(E-Mail Removed)> wrote in message
news:%23mhI$(E-Mail Removed)...
> Hello All
>
> How can I find out the pathname and filename of the mdb that has the
> linked
> tables in my frontend mdb? I have 'inherited' a situation (honestly!)
> where
> I have an access97 frontend with lots of linked tables - which I suspect
> are
> not all in the same backend. I'm sure there must be a way of getting at
> the
> pathname and filename for a particular table (right-click and properties
> would have been too obvious!) but cannot see how.
>
> NB Linked Table Manager is not installed and I do not have an A97 CD.
>
> Hope someone can help.
>
> Many thanks
> Leslie Isaacs



 
Reply With Quote
 
Leslie Isaacs
Guest
Posts: n/a
 
      30th Jan 2006
Hello Allen

Thanks for your reply.

Please excuse my ignorance, but how do I use the
"CurrentDb.TableDefs("MyLinkedTable").Connect" expression that you have
given me? Do I set this as a column in a query based on the table, or as the
OnClick event of a button on a form, or is it something completely
different. I realise that my question indicates a greater ignorance that you
may have expected, but we've all got to start somewhere!

Thanks again.
Les




"Allen Browne" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> The path is in the Connect property of the TableDef, e.g.:
> CurrentDb.TableDefs("MyLinkedTable").Connect
>
> If you can open the table in design view, Access shows this in the
> Description of the table (in the Properties box.)
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "Ruth Isaacs" <(E-Mail Removed)> wrote in message
> news:%23mhI$(E-Mail Removed)...
>> Hello All
>>
>> How can I find out the pathname and filename of the mdb that has the
>> linked
>> tables in my frontend mdb? I have 'inherited' a situation (honestly!)
>> where
>> I have an access97 frontend with lots of linked tables - which I suspect
>> are
>> not all in the same backend. I'm sure there must be a way of getting at
>> the
>> pathname and filename for a particular table (right-click and properties
>> would have been too obvious!) but cannot see how.
>>
>> NB Linked Table Manager is not installed and I do not have an A97 CD.
>>
>> Hope someone can help.
>>
>> Many thanks
>> Leslie Isaacs

>
>



 
Reply With Quote
 
Allen Browne
Guest
Posts: n/a
 
      30th Jan 2006
To find out where Table1 is getting its data from, press Ctrl+G to open the
Immediate Window, and enter:
? CurrentDb.TableDefs("Table1").Connect

If it returns a zero-length string, it is a local table (not a linked
table.) If it is a linked table, the string tells you where the source
database is.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Leslie Isaacs" <(E-Mail Removed)> wrote in message
news:%23kXkp$(E-Mail Removed)...
> Hello Allen
>
> Thanks for your reply.
>
> Please excuse my ignorance, but how do I use the
> "CurrentDb.TableDefs("MyLinkedTable").Connect" expression that you have
> given me? Do I set this as a column in a query based on the table, or as
> the OnClick event of a button on a form, or is it something completely
> different. I realise that my question indicates a greater ignorance that
> you may have expected, but we've all got to start somewhere!
>
> "Allen Browne" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> The path is in the Connect property of the TableDef, e.g.:
>> CurrentDb.TableDefs("MyLinkedTable").Connect
>>
>> If you can open the table in design view, Access shows this in the
>> Description of the table (in the Properties box.)
>>
>> "Ruth Isaacs" <(E-Mail Removed)> wrote in message
>> news:%23mhI$(E-Mail Removed)...
>>> Hello All
>>>
>>> How can I find out the pathname and filename of the mdb that has the
>>> linked
>>> tables in my frontend mdb? I have 'inherited' a situation (honestly!)
>>> where
>>> I have an access97 frontend with lots of linked tables - which I suspect
>>> are
>>> not all in the same backend. I'm sure there must be a way of getting at
>>> the
>>> pathname and filename for a particular table (right-click and properties
>>> would have been too obvious!) but cannot see how.
>>>
>>> NB Linked Table Manager is not installed and I do not have an A97 CD.



 
Reply With Quote
 
Leslie Isaacs
Guest
Posts: n/a
 
      30th Jan 2006
Many thanks Allen - that worked great!
Les


"Allen Browne" <(E-Mail Removed)> wrote in message
news:%23fAYL$(E-Mail Removed)...
> To find out where Table1 is getting its data from, press Ctrl+G to open
> the Immediate Window, and enter:
> ? CurrentDb.TableDefs("Table1").Connect
>
> If it returns a zero-length string, it is a local table (not a linked
> table.) If it is a linked table, the string tells you where the source
> database is.
>
> --
> Allen Browne - Microsoft MVP. Perth, Western Australia.
> Tips for Access users - http://allenbrowne.com/tips.html
> Reply to group, rather than allenbrowne at mvps dot org.
>
> "Leslie Isaacs" <(E-Mail Removed)> wrote in message
> news:%23kXkp$(E-Mail Removed)...
>> Hello Allen
>>
>> Thanks for your reply.
>>
>> Please excuse my ignorance, but how do I use the
>> "CurrentDb.TableDefs("MyLinkedTable").Connect" expression that you have
>> given me? Do I set this as a column in a query based on the table, or as
>> the OnClick event of a button on a form, or is it something completely
>> different. I realise that my question indicates a greater ignorance that
>> you may have expected, but we've all got to start somewhere!
>>
>> "Allen Browne" <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>>> The path is in the Connect property of the TableDef, e.g.:
>>> CurrentDb.TableDefs("MyLinkedTable").Connect
>>>
>>> If you can open the table in design view, Access shows this in the
>>> Description of the table (in the Properties box.)
>>>
>>> "Ruth Isaacs" <(E-Mail Removed)> wrote in message
>>> news:%23mhI$(E-Mail Removed)...
>>>> Hello All
>>>>
>>>> How can I find out the pathname and filename of the mdb that has the
>>>> linked
>>>> tables in my frontend mdb? I have 'inherited' a situation (honestly!)
>>>> where
>>>> I have an access97 frontend with lots of linked tables - which I
>>>> suspect are
>>>> not all in the same backend. I'm sure there must be a way of getting at
>>>> the
>>>> pathname and filename for a particular table (right-click and
>>>> properties
>>>> would have been too obvious!) but cannot see how.
>>>>
>>>> NB Linked Table Manager is not installed and I do not have an A97 CD.

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Appending Records from Linked Tables to the *Real* Linked Tables tbl Microsoft Access Queries 2 22nd Jun 2006 01:42 AM
Linked Table Manager Not Showing List of Linked Tables Don Microsoft Access External Data 4 19th Oct 2005 02:21 PM
Names of Linked Tables do not show up in linked table manager =?Utf-8?B?S2VuIEo=?= Microsoft Access 4 3rd May 2005 12:00 AM
using linked table manager to update path on linked tables Nydia Microsoft Access 4 19th Aug 2003 11:33 PM
Changing paths of linked tables without Linked Table Manger Ilka Microsoft Access Database Table Design 0 30th Jul 2003 01:43 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:12 AM.