Private Sub Command0_Click()
Dim obj As AccessObject, dbs As Object
Set dbs = Application.CurrentData
' Check each object of the AllTables collection
For Each obj In dbs.AllTables
' When you find a table, display its name
MsgBox obj.Name
Next obj
End Sub
--------------------------------------
the result of the above code searches for all table objects including the hidden and system tables.
How can I modify this code that it will not search the system table objects?
Kindly help.
Dim obj As AccessObject, dbs As Object
Set dbs = Application.CurrentData
' Check each object of the AllTables collection
For Each obj In dbs.AllTables
' When you find a table, display its name
MsgBox obj.Name
Next obj
End Sub
--------------------------------------
the result of the above code searches for all table objects including the hidden and system tables.
How can I modify this code that it will not search the system table objects?
Kindly help.