Need FormMail output to Excel solution - ehMac.ca
Facebook
Twitter
YouTube
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old Mar 26th, 2007, 11:27 AM   #1
Full Citizen
 
Join Date: Jun 2006
Location: Ontario
Posts: 183
Need FormMail output to Excel solution

Hello all -

I need a solution that will take a folder full of FormMail results held in Apple Mail and crunch it into an Excel file.

Does anyone know of any off-the-shelf solutions that would accomplish this?

I am willing to pay for such a beast, if it does what is expected of it.

Please PM or leave message here.

Thanks,

MacBookPro
MacBookPro is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old Mar 26th, 2007, 01:55 PM   #2
Assured Advertiser
Honourable Citizen
 
CanadaRAM's Avatar
 
Join Date: Jul 2005
Location: Victoria BC
Posts: 3,789
In general, you need to parse the email with BBEdit or some other powerful text editor, save as tab text or csv files, and import those into Excel.

How successful this is depends on how the Formmail output was formatted in the template. Are the fields well defined and uniquely identifiable? And the #1 question for any data import is: Is the source data consistent? That is, are First Names ALWAYS in the FirstName field, and are numbers ALWAYS numbers, etc.?

Can you upload a dummy sample (fake the data but leave the fields as they are)?
CanadaRAM is offline   Reply With Quote
Old Mar 26th, 2007, 03:06 PM   #3
Assured Advertiser
Honourable Citizen
 
MacDoc's Avatar
 
Join Date: Nov 2001
Location: Planet Earth.....on FASTER boil :-(
Posts: 30,602
I think Filemaker has such a beastie.

You may want to keep it in FMP rather than Excel but it's a cinch to go FMP to Excel.

http://www.versiontracker.com/dyn/moreinfo/macosx/11969
__________________
Spring Cleaning Sale email for flyer..sweet prices across the board • Many Retina's, Airs, new iMacs all on sale - great • OWC at par Trades welcome
MacDoc is offline   Reply With Quote
Old Mar 26th, 2007, 06:08 PM   #4
Honourable Citizen
 
guytoronto's Avatar
 
Join Date: Jun 2005
Location: Toronto
Posts: 4,798
I agree with MacDoc. Filemaker could do it. Easy to import. Easy to script. Easy to export.
__________________
I've lost my pants.
guytoronto is offline   Reply With Quote
Old Mar 27th, 2007, 02:57 PM   #5
mguertin
Guest
 
Posts: n/a
It could be done pretty easily with a simple perl script as well too if you know any willing geeks to do that for you. Sounds like about 3-4 lines of Perl are required.

As for filemaker .. I'm not sure this is the best option if the OP is looking to just get data into an Excel spreadsheet. A lot of $$ to spend, as well as a lot of extra work where a few lines of script can do what's needed. Also I have to disagree with the "easy to script" statement from guytoronto above (although I suppose easy is a relative term.. if you consider clicking your mouse 50 times and having to jump through hoops easy then it's easy)
  Reply With Quote
Old Mar 28th, 2007, 11:22 AM   #6
Full Citizen
 
Join Date: Jun 2006
Location: Ontario
Posts: 183
Thanks for the suggestions folks.

I had a FileMaker developer quote $500 US to make a very simple solution, but I found that a bit steep.

If there are any Perl programmers out there who can do what mguertin suggests, PM me!

Thanks to all for suggestions!

MacBookPro
MacBookPro is offline   Reply With Quote
Old Mar 28th, 2007, 02:26 PM   #7
Assured Advertiser
Honourable Citizen
 
CanadaRAM's Avatar
 
Join Date: Jul 2005
Location: Victoria BC
Posts: 3,789
It's impossible to say for sure how easy because we don't know the data, or the real problem to be solved.

MacBookPro, you have a folder of Mail messages that they want converted. How many in the folder? All of the mails are to be imported into one Excel sheet? One mail record per row? Are all the mail messages consistent in their information to each other or are there multiple variations or different mail items in the folder? Do you want all the messages imported at once with one click, or are you able to do some manual selection? Is the data within the emails consistent? Is this a one-shot import, or is it something that must be done repeatedly in the future? Does logic have to be added to make sure the same email isn't imported more than once?

MG - stating simply that it could be done in x number of lines of Perl without knowing the above is not a supportable answer.

It's not the best-case scenario that is the problem, it is handling the exeptions. The more exeptions to the rule, the more complex it gets.

In the case of Filemaker, it would be used to parse the text, similarly to how BBEdit or a script could parse the text. A Filemaker developer could deliver a runtime version, so MBP would not have to buy Filemaker.
CanadaRAM is offline   Reply With Quote
Old Mar 28th, 2007, 03:17 PM   #8
Assured Advertiser
Honourable Citizen
 
MacDoc's Avatar
 
Join Date: Nov 2001
Location: Planet Earth.....on FASTER boil :-(
Posts: 30,602
Well since this is $15 and should do the trick Id say it's worth a shot

http://homepage.mac.com/thinkagain/Mac/eMA/

dated but who cares.
__________________
Spring Cleaning Sale email for flyer..sweet prices across the board • Many Retina's, Airs, new iMacs all on sale - great • OWC at par Trades welcome
MacDoc is offline   Reply With Quote
Old Mar 28th, 2007, 04:15 PM   #9
mguertin
Guest
 
Posts: n/a
Quote:
Originally Posted by CanadaRAM
MG - stating simply that it could be done in x number of lines of Perl without knowing the above is not a supportable answer.
I'm pretty familiar with FormMail(.pl) and I stand by my statement that it should be a pretty simple Perl solution. In FormMail you will typically get, within the body of the email:

field: data

If it's as simple as the OP stated and you know the field values you're looking for then it's a few lines of regex with Perl. If it's more complex as you suggest then it's more complex.. just stating that sometimes the simple solutions are the best ones.

Also, I guess, showing my dislike of Filemaker based solutions
  Reply With Quote
Old Mar 28th, 2007, 05:32 PM   #10
Assured Advertiser
Honourable Citizen
 
CanadaRAM's Avatar
 
Join Date: Jul 2005
Location: Victoria BC
Posts: 3,789
Quote:
Originally Posted by mguertin
If it's as simple as the OP stated and you know the field values you're looking for then it's a few lines of regex with Perl. If it's more complex as you suggest then it's more complex.. just stating that sometimes the simple solutions are the best ones.
Yeah, that's just it - I have asked for info about how simple it is (whether there is consistency in the data) and MacBookPro hasn't replied. I just know that, no matter what the programming language, it's never as simple as you first assume. Regex is great (why I suggested BBEdit as one tool) as long as you have an identifiable pattern or target to work with.

If the contents are all over the map, however (let's say, the form was changed a couple of times during the collection of the data, or clients persistently put data into the wrong fields.) then it can be a bear.
CanadaRAM is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching question: Excel for Mac ps1 Mac, iPhone, iPad and iPod Help & Troubleshooting 2 Jul 23rd, 2006 03:10 PM
Excel starup Mr.Spock Mac, iPhone, iPad and iPod Help & Troubleshooting 5 Mar 17th, 2005 11:01 PM
G5 digital output thewitt Mac, iPhone, iPad and iPod Help & Troubleshooting 7 Jan 23rd, 2005 04:55 AM
I hate Excel in Mac MacAttack Mac, iPhone, iPad and iPod Help & Troubleshooting 7 Nov 16th, 2003 09:19 PM


All times are GMT -4. The time now is 01:17 PM.



Copyright © 1999 - 2012, ehMac.ca All rights reserved. ehMac is not affiliated with Apple Inc. Mac, iPod, iTunes, iPhone, Apple TV are trademarks of Apple Inc. Content Relevant URLs by vBSEO 3.6.0 RC 2

Tribe.ca: Urban living in Toronto!