B
Balbina
I have a form with a list box. I would like the list box to load the tables
from my database that are visible in the Navigation pane. Where is this
property set? I have tried the AllTables collection, but the table properties
are not available. And I tried this:
Dim cat As adox.Catalog
Set cat = New adox.Catalog
cat.ActiveConnection = CurrentProject.Connection
Dim i As Integer
With cat.Tables
For i = 0 To (.Count - 1)
If .Item(i).Properties(9).Value = False Then
Me.lstTables.AddItem .Item(i).Name
End If
Next i
End With
Where Properties(9).name = Jet OLEDB:Table Hidden In Access
and where lstTables is my list box on my form.
This lists most of the tables because, I'm guessing, that property is for
something else. Any thoughts?
Thank you,
Balbina
from my database that are visible in the Navigation pane. Where is this
property set? I have tried the AllTables collection, but the table properties
are not available. And I tried this:
Dim cat As adox.Catalog
Set cat = New adox.Catalog
cat.ActiveConnection = CurrentProject.Connection
Dim i As Integer
With cat.Tables
For i = 0 To (.Count - 1)
If .Item(i).Properties(9).Value = False Then
Me.lstTables.AddItem .Item(i).Name
End If
Next i
End With
Where Properties(9).name = Jet OLEDB:Table Hidden In Access
and where lstTables is my list box on my form.
This lists most of the tables because, I'm guessing, that property is for
something else. Any thoughts?
Thank you,
Balbina