Jump to content

Exporting FMP database to DB Browser for SQLite


This topic is 976 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am not familiar with SQLite and the answer depends on what format/s SQLite can import. A quick Google search suggests it can import CSV - which is one of the formats that Filemaker can export. I also see there are tools to convert CSV to SQLITE (which seems to be SQLite's native format).

A note to this as well as to your previous question: the only way to get data out of a Filemaker file is to open it in a Filemaker application. Then you can export from it in one of the supported formats or - if it is hosted - connect to it through ODBC or Data API and query it.

 

Link to comment
Share on other sites

this might work for SQLite — here are some xsl's for exporting from FileMaker to mySQL. Perhaps you can work with those and tweak for SQLite if required.   

Steps:  export as XML, select fields, then when prompted for XSL choose one of the files attached.

SAMPLE OUTPUT

DROP TABLE IF EXISTS contact;

CREATE TABLE contact (
id int(11) unsigned NOT NULL AUTO_INCREMENT,
comment text,
deleted_at timestamp,
name text,
type text,
ENGINE=InnoDB DEFAULT CHARSET=utf8


INSERT INTO contact VALUES(…

 

mysqlFromFileMaker.zip

Link to comment
Share on other sites

This topic is 976 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.