moki
Programmer
- Dec 5, 2000
- 37
Hello,
I have been able to retrieve Access database table names but want to be able to do it on an SQL database.
The code I use for Access is:
Set db = OpenDatabase(MyDatabaseName)
For intI = 0 To db.Containers("Tables").Documents.Count - 1
If Left(db.Containers("Tables").Documents(intI).Name, 4) <> "MSys" Then
cboTables.AddItem db.Containers("Tables").Documents(intI).Name
End If
Next intI
Can someone direct me in getting SQL table names?
Thank you....
I have been able to retrieve Access database table names but want to be able to do it on an SQL database.
The code I use for Access is:
Set db = OpenDatabase(MyDatabaseName)
For intI = 0 To db.Containers("Tables").Documents.Count - 1
If Left(db.Containers("Tables").Documents(intI).Name, 4) <> "MSys" Then
cboTables.AddItem db.Containers("Tables").Documents(intI).Name
End If
Next intI
Can someone direct me in getting SQL table names?
Thank you....