' Enumerate TableDefs collection.
For Each tdf In CurrentDb.TableDefs
If Left(tdf.Name, 4) <> "msys" Then
Debug.Print tdf.Name
CurrentDb.TableDefs.Delete (tdf.Name)
End If
Next tdf
Check the References to make sure the Microsoft DAO 3.X Object Library is selected. Open the module in design mode, click on Tools | References. Select the latest version listed - probably 3.5 or 3.6. Terry L. Broadbent - DBA
SQL Server Page:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.