Source of Post: http://sqlite.awardspace.info/syntax/sqliteodbc.htm
Microsoft Access Forms and Queries can used as a front end for SQLite datebases by using the free ODBC driver written by Christian Werner which can be found at http://www.ch-werner.de/sqliteodbc/sqliteodbc.exe.
What can be done.
- Link to SQLite Databases and tables allowing you to add, update and delete the records in them.
- Import SQLite tables into Access.
- Create tables in SQLite Databases by exporting tables and query results from MS Access.
What can not be done.
- Delete SQLite tables- you may only delete the link to the table
- Alter the structure of a sqlite table within MS Access.
Set up the ODBC Data Source on Windows XP
- Run the installation program sqliteodbc.exe
- Go to the control panel and look for "Data Sources (ODBC)".
It may have it's own icon in the control panel or it may be listed in Administrative Tools
- Click on "Data Sources (ODBC)" which will bring up the "ODBC Data Source Administrator Dialog" Box.
- In the &#User DSN" tab select Add to bring up the "Create New Datasource" dialog box.
- Select the appropriate driver most likely the "SQLite 3 ODBC Driver".
- Enter the data source name and your done.
Create Table in SQLite from MS ACCESS
Steps to create a table in SQLite from Microsoft Access.
From the menu bar in Access, go to;
- File - Export
- Export Table Dialog Box
- "Save As Type" drop down box
- Select "ODBC Databases"
- Export to File Name
- Select Machine Data Source Tab
- Select "SQLite Database"
- Click OK
- SQLite 3 ODBC Driver Connect
- Browse for database name
Linking to tables in a SQLite database from MS Access
- Go to the File menu
- Select "Get External Data"
- Select "Link Tables"
- Link dialog Box
- Files of type drop down box
- Select ODBC Databases()
- Machine Data Source Tab
- Select "SQLite Database"
- Select "Sqlite 3 ODBC Driver Connect"
- Database Name
- Browse for file