Solved

How to export Filemaker Pro 11 data to SQL Server?

Posted on 2010-09-06
4
1,254 Views
Last Modified: 2012-05-10
Hi Experts,
I'm having all sorts of trouble porting a Filemaker 11 Pro database into SQL Server.

I first tried exporting a table into XLS format, but the resulting xls file would not load into a SQL table because it stated the column length was too great (even though the target column was defined as ntext which shoudl have allowed any length, and no excel column was more than a few hundred bytes anyway).

Next I tried writing an ASP script that read in an XLS spreadsheet into a recordset, but after the first row it again broke with a similar type message as soon as I executed a MoveNext on the recordset. I then modified my ASP scrript to simply movenext through the recordset without processing any of the rows, and again it croaked on the 2nd row, just by doing a simple movenext.

So I'm reaching out to the experts - surely there is a better way. can anyone advise me on how to get the FileMaker data out of FM Pro 11 and into SQL Server?

Many thanks!
0
Comment
Question by:rascal
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
North2Alaska earned 250 total points
ID: 33613996
Can you set up a ODBC connection and have FM write to the tables directly?  FM has pretty good integration to work with SQL Server.
0
 
LVL 1

Author Comment

by:rascal
ID: 33614206
I can create a DSN and use odBC, but where is the option to do so in FileMaker? In the EXPORT option I am only presented with options to save to xls, csv, etc.
0
 
LVL 6

Assisted Solution

by:ThomDroz
ThomDroz earned 250 total points
ID: 33614658
rascal

If this is a one time deal, i think exporting is the way to go
did you try a simple delimiter like the tab export?

You could replace the tab with any character you like, should be pretty universal...


Thom Droz
Droz-Consulting.com
0
 
LVL 1

Author Closing Comment

by:rascal
ID: 33615410
Thank you both, I ended up exporting to xls so I could get the column names, then exported again to csv so I could get the data, then imported into SQL and had it auto-generate the table, then wrote a script to perform the necessary mappings and conversions to get it into its final data format. whew.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question