Results 1 to 5 of 5

Thread: Open schema column

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2002
    Location
    Newcastle
    Posts
    19

    Open schema column

    This is all on a button click
    I have this half working i can display all tables in data base in combo1 then the bit i cant get to work is to display all columns in that table in to combo2 any ideas searched the web cant find any help on it


    VB CODE
    _______________________________________________
    Set adox_Catalog = New ADOX.Catalog
    Set adox_Catalog.ActiveConnection = cnn
    For Each adox_Table In adox_Catalog.Tables
    If UCase(Left(adox_Table.Name, 4)) <> "MSYS" Then
    Combo1.AddItem adox_Table.Name
    End If
    Next adox_Table

    ____________________________________________________
    END CODE
    Last edited by david maddison; Apr 4th, 2003 at 03:52 AM.
    david

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width