Connecting to Microsoft Access

Can anyone tell me if it is possible to connect to Microsoft Access db and how? I have several systems that use Access and I need to create new front end functionality to the Access tables.


Hey Lewis,

I’ve never done that but I’m wondering if ODBC or ADO aren’t your friends here.

I believe there are examples flying around for both ODBC and ADO connections.

Try that and let us know how you get on.

Cheers, Mel

I will be going down that path shortly and have these bookmarked:

If you discover anything useful, I’d appreciate you post back.



General Partner

The nNovation Group inc.


Are you able to use the SQL Server upsize wizard (not sure if that's the exact name - the thing that converts Access DBs to SQL Server), then use e.g. the free SQL Server engine? Your data would remain intact, but you'd then be using SQL Server which is far more scalable/robust than Access. It's probably a lot easier to find help for Rails/SQL Server than for Rails/Access...

BTW, I suggested using the free version of SQL Server, which supports a limited number of users and database size, because I assume this would meet your requirements if you're starting from Access to begin with; if not, just use one of the for-pay SQL Server versions. From Rails' perspective, it shouldn't care which version of SQL Server you use.


Dave M.