PC Review Forums Newsgroups Microsoft Access Microsoft Access VBA Modules Identifying Linked Tables

Reply

Identifying Linked Tables

 
Thread Tools Rate Thread
Old 10-11-2003, 02:33 PM   #1
Synergy
Guest
 
Posts: n/a
Default Identifying Linked Tables


Hello,

I would like to iterate through the tables in my DB and populate a table
with the names of all linked tables, but cannot find a property to identify
the Lined tables. Is there one?

God Bless,

Mark A. Sam


  Reply With Quote
Old 10-11-2003, 02:48 PM   #2
Rick Brandt
Guest
 
Posts: n/a
Default Re: Identifying Linked Tables

"Synergy" <NoName@NoMail.Com> wrote in message
news:%23Pg0p84pDHA.1408@TK2MSFTNGP11.phx.gbl...
> Hello,
>
> I would like to iterate through the tables in my DB and populate a table
> with the names of all linked tables, but cannot find a property to

identify
> the Lined tables. Is there one?


If the Connect property of the TableDef is not blank, then it is a linked
table.


--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


  Reply With Quote
Old 10-11-2003, 02:48 PM   #3
Peter Russell
Guest
 
Posts: n/a
Default Re: Identifying Linked Tables

Synergy previously wrote:

> Hello,
>
> I would like to iterate through the tables in my DB and populate a table
> with the names of all linked tables, but cannot find a property to
> identify
> the Lined tables. Is there one?
>
> God Bless,
>
> Mark A. Sam
>
>
>

Using DAO tabledefs you can test the tabledef.Connect property for not ""

Regards

Peter Russell
  Reply With Quote
Old 10-11-2003, 02:56 PM   #4
Synergy
Guest
 
Posts: n/a
Default Re: Identifying Linked Tables

Thanks, that is what I need.


  Reply With Quote
Old 10-11-2003, 04:20 PM   #5
Van T. Dinh
Guest
 
Posts: n/a
Default Re: Identifying Linked Tables

A Query with the following SQL String:

SELECT MSysObjects.Name
FROM MSysObjects
WHERE (((MSysObjects.Name) Not Like "MSys*" And
(MSysObjects.Name)<>"Engine")
AND ((MSysObjects.Type)=6));

Should give you the names of all linked Tables.

--
HTH
Van T. Dinh
MVP (Access)



"Synergy" <NoName@NoMail.Com> wrote in message
news:#Pg0p84pDHA.1408@TK2MSFTNGP11.phx.gbl...
> Hello,
>
> I would like to iterate through the tables in my DB and populate a table
> with the names of all linked tables, but cannot find a property to

identify
> the Lined tables. Is there one?
>
> God Bless,
>
> Mark A. Sam
>
>



  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off