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. HELP! Copy Access data to Excel Error

HELP! Copy Access data to Excel Error

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpdatabasecomsysadmin
2 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
    Jenleonard
    wrote on last edited by
    #1

    Hi ~ I have an MFC application using automation that needs to open an access database, perform a query to get a recordset and then copy the recordset to Excel. I found an article on the microsoft site that explains how to do it, but I am getting an error = "The server threw an exception" The article is at: support.microsoft.com/kb/243394/en-us I am using Visual C++ 6.0 and Excel/Access 2003 (although my file is Access 2000 format). Any ideas on what I might need to do to fix it? Thanks so much for your help! Jen

    D 1 Reply Last reply
    0
    • J Jenleonard

      Hi ~ I have an MFC application using automation that needs to open an access database, perform a query to get a recordset and then copy the recordset to Excel. I found an article on the microsoft site that explains how to do it, but I am getting an error = "The server threw an exception" The article is at: support.microsoft.com/kb/243394/en-us I am using Visual C++ 6.0 and Excel/Access 2003 (although my file is Access 2000 format). Any ideas on what I might need to do to fix it? Thanks so much for your help! Jen

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Have you single-stepped through the code to find which statement is throwing the exception?


      "The largest fire starts but with the smallest spark." - David Crow

      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