ADODB connection to ACCDB file — unrecognized database format error

前端 未结 1 1170
天涯浪人
天涯浪人 2021-01-18 23:59

I have a file like this:

strPath = \"S:\\HR\\Forms\\forms_database.accdb\"

I am connecting to it through an WORD adodb.connection

1条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-19 00:39

    Try ACE OLEDB 12.0 as the db version.

    "Provider=Microsoft.ACE.OLEDB.12.0"
    

    0 讨论(0)
提交回复
热议问题