Here's another solution, using a simple query to read the tables in another
database:
SELECT MSysObjects.[Name]
FROM MSysObjects IN 'C:\MyFolder\MyFile.mdb'
WHERE (MSysObjects.[Type] = 1)
AND NOT ((MSysObjects.[Name] Like "~*")
OR (MSysObjects.[Name] Like "MSys*"))
ORDER BY MSysObjects.[Name];
--
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.
"cherman" <(E-Mail Removed)> wrote in message
news:F0347D03-AC5B-4AE8-80A7-(E-Mail Removed)...
>I want to reference the table names in one Access DB from another Access DB
> via code. Any suggestions on how to do this?
>
> Thanks in advance!