Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. How to get a list of tables from a access database

How to get a list of tables from a access database

Scheduled Pinned Locked Moved Database
questiondatabasetutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    King_of_Queens
    wrote on last edited by
    #1

    Hi, how can i get a list of tables with columns from a access database by using cdatabase and crecordset? I want to use the list in a CTreeCtrl!

    H K 2 Replies Last reply
    0
    • K King_of_Queens

      Hi, how can i get a list of tables with columns from a access database by using cdatabase and crecordset? I want to use the list in a CTreeCtrl!

      H Offline
      H Offline
      Hesham Amin
      wrote on last edited by
      #2

      If you'll use Access , why not to use CDaoDatabase ? you can use methods like :GetTableDefCount , GetTableDefInfo to get CDaoTableDefInfo object. then you can get data about each table.

      1 Reply Last reply
      0
      • K King_of_Queens

        Hi, how can i get a list of tables with columns from a access database by using cdatabase and crecordset? I want to use the list in a CTreeCtrl!

        K Offline
        K Offline
        Kyle Chen
        wrote on last edited by
        #3

        You can use ADOX to retrieve tables/views list. If you want, I can give you some code fragment. :) Kyle Chen

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups