Avatar of ScubaSteveDenver
ScubaSteveDenver
 asked on

create a recordset of table names

I have an Access 2007 FE with SQL Server 2005 BE. I need to create a recordset with the names of all the tables.
Microsoft Access

Avatar of undefined
Last Comment
Rey Obrero (Capricorn1)

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Rey Obrero (Capricorn1)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Rey Obrero (Capricorn1)

dim rs as dao.recordset

set rs=currentdb.openrecordset("select [Name] from msysobjects where type in(1,4)")
ScubaSteveDenver

ASKER
Thank you!
How about specifying only linked tables?
Rey Obrero (Capricorn1)

linked tables have type 4 or 6
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck