Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use SQLite database from MS Access?

I would like to use an SQLite database from Microsoft Access (access from- or transfer the contents to Microsoft Access).

  • How can this be done using VBA?

This is for a client who can not install extra software:

  • Does a library exist in VBA to use SQLite databases?
like image 555
Phong Avatar asked Mar 25 '10 04:03

Phong


2 Answers

This question popped up in my recent (2021) search on the same topic, and the answer has changed since 2010.

There are now several ODBC drivers for SQLite. Here are two (I have no affiliation with either):

Free: http://www.ch-werner.de/sqliteodbc/

Paid: https://www.devart.com/odbc/sqlite/download.html

like image 83
Jason Avatar answered Sep 19 '22 10:09

Jason


Does a standard library exist in VBA to used sqlite database?

No. Access and VBA do not have any native capability to connect to SQLite data sources.

You would have to install additional software to allow Access to use SQLite.

like image 31
HansUp Avatar answered Sep 18 '22 10:09

HansUp