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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. getting table names from MS Access (.mdb file) in MFC

getting table names from MS Access (.mdb file) in MFC

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
5 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.
  • S Offline
    S Offline
    suthakar56
    wrote on last edited by
    #1

    hi all, i need to get the table names from .mdb file in MFC.Can any on e help in this regard. Thanks in advance.

    R 1 Reply Last reply
    0
    • S suthakar56

      hi all, i need to get the table names from .mdb file in MFC.Can any on e help in this regard. Thanks in advance.

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      Hi, Did you search CodeProject or Google?

      It is a crappy thing, but it's life -^ Carlo Pallini

      M S 2 Replies Last reply
      0
      • R Rajesh R Subramanian

        Hi, Did you search CodeProject or Google?

        It is a crappy thing, but it's life -^ Carlo Pallini

        M Offline
        M Offline
        Muhammad Mazhar
        wrote on last edited by
        #3

        try following, I didn't tried it my self just found on googling

        SELECT [Name] from msysobjects where ([type] =1 and Flags = 0) or [type] = 6

        Share your experience with others Check my Blog...

        1 Reply Last reply
        0
        • R Rajesh R Subramanian

          Hi, Did you search CodeProject or Google?

          It is a crappy thing, but it's life -^ Carlo Pallini

          S Offline
          S Offline
          suthakar56
          wrote on last edited by
          #4

          I searched from both.but i didn't get the suitable one.So that only i posted this question.

          R 1 Reply Last reply
          0
          • S suthakar56

            I searched from both.but i didn't get the suitable one.So that only i posted this question.

            R Offline
            R Offline
            Rajesh R Subramanian
            wrote on last edited by
            #5

            suthakar56 wrote:

            I searched from both.but i didn't get the suitable one.So that only i posted this question.

            Strange! CP search engine returned the following article as the first result while I searched for "MFC access": Easy way to mix the MFC Document/View and MS Access database applications.[^] I sure did get more relevant results when I modified the search terms. Take a look at the CDatabase[^] class as well for your need.

            It is a crappy thing, but it's life -^ Carlo Pallini

            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