0

I have been using MS access database ( *.MDB) in a 64-bit format in windows 7 (64-bit) for quite some time. The Access SQL is called from a C++ module. I have recently upgraded my OS to windows 10, I am still able to open connection to the ODBC (user DSN in this case), however, it seems my earlier program can no longer open the table or run queries. I am unsure what are my options now, please advice.
Should I use .accdb in place of .mdb ?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
ark1974
  • 615
  • 5
  • 16

2 Answers2

0

Try changing provider in connection string : "Provider=Microsoft.Jet.OLEDB.4.0;" Like this if not yet done so.

newstockie
  • 114
  • 1
  • 4
0

After testing I found that changing from .mdb to .accdb did solve the problem. I am posting so that I can close this thread and perhaps benefit someone.

ark1974
  • 615
  • 5
  • 16