|
-
Dec 6th, 1999, 09:52 PM
#3
Lively Member
Try this...
Dim cnDB As ADODB.Connection
Dim rs As New ADODB.Recordset
Set cnDB = New ADODB.Connection
cnDB.Open "Connect string here "
Set rs = cnDB.OpenSchema(adSchemaTables)
Do Until rs.EOF
Select Case rs!TABLE_TYPE
Case "SYSTEM TABLE"
Debug.Print "System : " & rs!Table_Name
Case Else
Debug.Print rs!Table_Name
End Select
rs.MoveNext
Loop
rs.Close
......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|