Solved

How to export Filemaker Pro 11 data to SQL Server?

Posted on 2010-09-06
4
1,239 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now