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. CSV file databases and DAO

CSV file databases and DAO

Scheduled Pinned Locked Moved C / C++ / MFC
databasehelptutorialquestion
3 Posts 2 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.
  • J Offline
    J Offline
    John Clump
    wrote on last edited by
    #1

    Hi everyone. I have a program which opens and writes to MS Jet databases using DAO. I want to be able to open a table in a Jet database and convert it to a CSV (comma separated value) database. MSDN says you can use DAO to read/write to CSV databases, but I cannot find any examples on how to do this. Do you use it just like Jet database? Any help is greatly appreciated!

    N 1 Reply Last reply
    0
    • J John Clump

      Hi everyone. I have a program which opens and writes to MS Jet databases using DAO. I want to be able to open a table in a Jet database and convert it to a CSV (comma separated value) database. MSDN says you can use DAO to read/write to CSV databases, but I cannot find any examples on how to do this. Do you use it just like Jet database? Any help is greatly appreciated!

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      A CSV file can be created straight huh? Just separate your fields with commas and each record ends with a cr-lf. Nish


      Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

      J 1 Reply Last reply
      0
      • N Nish Nishant

        A CSV file can be created straight huh? Just separate your fields with commas and each record ends with a cr-lf. Nish


        Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

        J Offline
        J Offline
        John Clump
        wrote on last edited by
        #3

        I could do that, and still might. Creating the file isn't too bad, but parsing it back out will be a chore, possible to do but a chore. I was hoping DAO could read the file back for me. Oh, well :rolleyes:

        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