Reputation: 1034
I have a MS Access 2003 database on a Windows 10 PC running WampServer 2.5. I can open it in LibreOffice 5.1 Base. I added a test table with LibreOffice Base, consisting of the following fields:
id word
The first field (id) is an integer field, and is autoincrement (set to AutoValue). The second field (word) is varchar.
I saved the table, and then opened it. There are no input fields showing. If I click on Insert/Record, the Record link is greyed out.
To open the Access database with LibreOffice, I did the following:
I can create a database as HSQLDB Embedded with the same table and fields, and everything works as expected.
What am I doing wrong? Any thoughts?
Thanks in advance.
John
Upvotes: 4
Views: 2368
Reputation: 1034
Well, in my particular case, the answer was to open the 2003 Access database with ODBC. There are good explanations here: How to Connect to a Microsoft Access Database
Here are the steps I took:
Connect to an existing database, choose ODBC, then Next
On Database Wizard sceen, it asks the name of the ODBC data source on your system. Select Browse
On the Data Soure screen, select Organize
On the ODBC Data Source Administrator screen, select Add
On Create New Data Source screen, select a Microsoft Driver (among different drivers and languages), then Finish
On the ODBC Microsoft Access Setup screen, type in Data Source Name, Description, and Select database, then OK
On the ODBC Data Source Administrator screen, select the User Data Source you just set up, then OK. The dialog closes.
On the Data Source screen, select the data source you just set up, then OK
Next Password, if you are using one
Next screen, "Yes, register the database for me" (which may not be needed here) and "Open the database for editing", then Finish
Next, give the .odb a file name and save it.
That's it.
Upvotes: 5