Access 2010

Hi. I am trying to migrate from Access 2010 to Libre Office Base.
I have set up a connection to my Access file and LibO opens it fine. Only problem is I can not ADD or modify any record…

any clue?

Mariosv, I saw your answer. Unfortunately, the table already has a primary key in Access and when I connect my Libo file to the original file it detects correctly the primary key.

…still no way to add a record…

I found out that the problem lies in the fact that LibO deals with ACCESS 2007 files. Access 2010 files are slighly different and MS Access blocs editing of 2010 files if they are opened as 2007 files.

See this: http://social.technet.microsoft.com/Forums/en/office2010/thread/33ad105c-b752-4f65-9913-32ea967171f4

Unfortunately, contrary to the quoted thread (http://msdn.microsoft.com/en-us/office/cc907897.aspx) I don’t have non supported features and even making a new database with a very simple table can’t edit it.

Solution? LibO, PLEASE add Access 2010 files support!!!

If can set a ODBC connection in your system to your access 2010 database, I think there is no problem to use an ODBC connection in Base. Or ask to MS about clean artificial blocks. I think only to obligate people to update.

Hi @Emilio71, Take a look at this entry: http://askubuntu.com/questions/187389/is-it-possible-to-open-a-office-2010-access-files
LO 3.6 might have better support. If you still have issues with the file format, please file an enhancement bug. Thanks!

LibreOffice help:

Table Design

This section contains information about how to create a new database table in the design view.
Open the database file of the database where you want a new table. Click the Tables icon. Choose Create Table in Design View to create a new table.
In the Design view, you can now create the fields for your table.
Enter new fields in rows from top to bottom. Click the Field Name cell and enter a field name for each data field.

Include a “primary key” data field. Base needs a primary key to be able to edit the table contents. A primary key has unique contents for each data record. For example, insert a numerical field, right-click the first column, and choose Primary Key from the context menu. Set AutoValue to “Yes”, so Base can automatically increment the value for each new record.
In the next cell to the right, define the Field Type. When you click in the cell, you can select a field type in the combo box.

Each field can only accept data corresponding to the specified field type. For example, it is not possible to enter text in a number field. Memo fields in dBASE III format are references to internally-managed text files which can hold up to 64KB text.

You can enter an optional Description for each field. The text of the description will appear as a tip on the column headings in the table view.