Newbies golf pro Posted September 23, 2003 Newbies Posted September 23, 2003 I need to be able to take data that looks like this: company name: my new company E-Mail Address: [email protected] Web Site: Home Phone: 555-123-9876 and drop it into a field in my FMP database and have a script that parses it into the correct field. The challenge is that not all of the data that I receive is "required". Other things that are challenging are things like company name where the name could be 1 word or 5 words. The one good thing is that all potential fields are each on their own line when I get them. Thanks for any and all help.
Vaughan Posted September 23, 2003 Posted September 23, 2003 The fact that the data in the field is not in a standard format -- some fields are not required -- is what is going to make your task difficult. That they are paragraph separated makes it a bit easier. If all the e-mail addresses have an "@" character then you can easily put these into e-mail address fields. Similarly if the web sites all start with "http://" then you can look for that string. I recently cleaned up 48,000 records that had been very badly entered over an 8 year period. I managed to correctly auto-process 95% of the records with scripts.... that left just 2,400 to go through and process manually! And that's what I ended up having to do, go through the remaining 5% and cut-and-paste text to clean up the data. Which is why you should always charge by the hour for data conversion.
BobWeaver Posted September 24, 2003 Posted September 24, 2003 Your data format is almost identical to what I have just finished parsing on another project. Here is a sample file that should work. Parse.fp5.zip
Newbies golf pro Posted September 24, 2003 Author Newbies Posted September 24, 2003 I can't thank you enough. This looks like EXACTLY what I need to do.
Recommended Posts
This topic is 7732 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 accountSign in
Already have an account? Sign in here.
Sign In Now