G
gavin
Looking for an easy way to programtically get the names of all tables in a databas
Thanks
Thanks
Allen Browne said:Another alternative:
SELECT MsysObjects.Name FROM MsysObjects
WHERE (([Type] = 1) AND ([Name] Not Like "~*") AND ([Name] Not Like
"MSys*"))
ORDER BY MsysObjects.Name;
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
inSteven said:Dim tTables As TableDef
For Each tTables In CodeDb.TableDefs
Debug.Print tTables.Name
nexta
database