Filemaker tables to libre base

Here are a couple links from Filemaker for version 13 specifically. It appears .csv and dBase are export options. I can verify that both formats are compatible with LibreOffice as I recently had to do a similar migration.

Supported import/export file formats

Exporting data from FileMaker Pro

I found the easiest way to get data into Base is to first import into Calc and go from there. However, your process will vary depending on which database format you choose. Base can either use its internal database format (not highly recommended), or you can hook it up to a separate backend like MySQL, Maria or PostrGres (highly recommended). I recommend the separate backend because an internal database is more likely to get corrupted if LibreOffice experiences some kind of error. I am currently working on a fairly sophisticated MySQL backend database system and am enjoying the benefits of such. Of course this information will probably just open more questions for you if you aren’t already familiar with how to do all that stuff.

I’m not well-versed with Filemaker, but I recently did something even crazier… I just exported ANCIENT files from Q&A for DOS! Ha ha. It was actually kind of fun but challenging due to the crazy old formats Q&A uses.

@Ratslinger gave a pretty great answer about how to copy & paste data from Calc to Base. If you export to a .csv or dBase IV file from FileMaker, either can be opened directly into Calc. From there, follow the instructions in the linked post. Add/move big data from Calc to Base

@PhLo Just saw your comment. Thanks for posting the link. Actually forgot I had posted that in detail!

No problem. It seems you have already answered just about every question on this forum, maybe even several times :D. Sometimes it can be difficult to FIND those answers. It’s debatable whether it’s better to answer afresh or hunt down and point to old answers. The “search engine” doesn’t always avail since who knows what words were used to describe an already existing question and solution. Not all key terms in past answers seem to get indexed, so they might not show up in a quick search later.

Finding them is not the problem. Have means for that. It’s remembering that I answered that already!

Hello @wblueg,

Please don’t get ahead of the process. As you can see, with some feedback on your part there is progress already.

You state you now have a csv file. This file should be opened in Calc. Open a new Calc file. Then select from menu File->Open. Select your csv file & open it. This will bring up a Text Import dialog. Make sure you data fields look OK then press the OK button. The data is now in the spreadsheet and at the top of each column hopefully is the name of each field.

Now open you new Base file. Make sure you have Tables section selected. Back to the Calc file.

Select ALL data on the sheet. Once selected, right mouse click & select Copy. Back to the Base file.

In the blank tables section right mouse click & select Paste. This brings up a copy dialog box. At the top make sure you have a table name you want. In the Options section, insure Definition and data and Use first line as column names are selected. Click Create button. Will get message to create a primary key - select Yes.

If all has gone well you should have your database table.

Success, at least with small (100 to 200 records). I have not tried any of the tables with thousands of records yet but I couldn’t wait to tell you how grateful I am for your tolerance, patience and competence. I have read other posts on this site that dealt with problems associated with moving large files. I do not know if 10,000+ records is large in your world or not but I am assuming I will have no difficulty here. Can we keep this question open for another day as I confirm that?

@wblueg I’m certain at this point you realize how important it is to respond to answers if something isn’t working. Usually things can be worked out. As for # of records, I’ve worked with PostgreSQL tables with many more records than that. It is all relative. Now, since you have that many records, you can create a table with say the first 100 or 1000 or so, then copy from Calc starting at point you left off. Cont…

Copy the next say 1000, right click the table & paste but in the dialog select append so you would they just be adding data to existing table. Or do all at once - your choice.

Take you time in getting the data transferred. Just watch so you don’t get duplicate data. The post will be open as the other still are.

Also, when confirmed, as you have been helped, please help others to know the question has been answered by clicking on the :heavy_check_mark: in upper left area of answer which satisfied the question.

Thanks for everything. I no longer fear losing everything.

You are quite welcome. Make certain you make a backup or two. On that note, did not realize until your comments the amount of data you had. Embedded HSQL databases (Base default) can, on occasion, have problems with that. Consideration should be given to moving to a split DB or Firebird embedded. If you wish to pursue, please ask as new question. I realize it is not what you want to hear after all you went through. Just some advice.

Just thought of it. Keep your csv files as a further backup. Can never have enough backup. Copy them to a CD or flash drive for storage. Maybe even a copy of this first Base file you created.

My profound gratitude for your help.

A 10k+ records Filemaker 13 table copied to Base through Calc was successful, but I do not know how to convert a much needed 8 digit numerical field to a primary key. The new Base table does have both a new Primary key and the old numeric file fields.

How do I make the old numeric field the Primary Key field?
WIll I still the automatic new Primary Key Field.

It appears to be possible in 'Create Table in Design View" but not in 'Copy Table

Thanks for the advice. do keep backups on a local disk and on Carbonite.

Sorry didn’t think of setting one of your fields to primary key. Can be done in a table copy as long as your field (let’s call it YourKey) is unique (no duplicates). First copy existing table then paste. In dialog give a name wanted, select Definition and data and Create new primary key.. is un-checked. Click next. In Apply Columns dialog, select all fields EXCEPT for the unwanted primary key. Click next. More…

In Type formatting dialog, right mouse click the field you want set as the primary key (YourKey) and click on Primary Key. A key symbol will appear to left of field name. Click Create button and you should have your wanted table with the key wanted.

Thanks to your help I have most of my tables in Base now. The learning curve is pretty steep but I am getting there.
Couple of error boxes I am concerned about pop up.
"Value too long in statement - - - " I did
“Wrong data type: Java.lang.NumberFormatException. Continue anyway?” I did

Those errors are going to cause data loss in the specific record(s) or fields. Value too long means the field wasn’t big enough for the data to fit. The incorrect data type can be a variety of things depending upon when you got the error. May be for one record or an entire column. You need to verify your results.

You are right again. Many Records were not included in one of the tables. I made several adjustments in the Calc sheet and recovered most of them but there are more. Is there a better way to find the “Values too long” records than plowing through thousands of records individually? I’ve gone cross-eyed.

You haven’t explained exactly what the problem is. How large is the receiving field? What is the size of the data in Calc? Insure the receiving field is large enough to hold the data you are transferring. This seems to be the likely cause.

As stated in an earlier comment (actually my first comment above), transfer one group of data at a time. You have me at a disadvantage since I cannot see what exactly is transpiring & the actual data you have.