Newbies dikkeberta69 Posted April 15, 2014 Newbies Posted April 15, 2014 Hi all, Maybe I'm asking something that's been explained before, but I can't find a suitable solutions anywhere. My problem: I got a comma seperated text file with 1.4 million records. Simplified it goes like this: name location present/absent/doubtful/no data name1 germany present name1 belgium present name1 france absent name1 spain doubtful name1 italy present name1 portugal no data name1 hungary absent name2 belgium present name2 uk no data name2 ireland doubtful etc. As you can see I now have multiple records for each name. What I need is this: name present absent doubtful no data name1 germany,belgium,italy france,hungary spain portugal name2 belgium ireland uk So, one record for each name. This will bring back the number of records to app. 50.000 and is workable. Is there a solution for this and can anyone explain to me (step-by-step) how to do this? Thanks very much in advance!
Kris M Posted April 15, 2014 Posted April 15, 2014 is the consumption of the csv file reoccuring or one time only?
Newbies dikkeberta69 Posted April 15, 2014 Author Newbies Posted April 15, 2014 Hi Kris, If I understand you correctly this is the answer: It's a one time thing. I want to import the complete file into Filemaker and hopefully I will end up with adatabase(table) as described above. There won't be any later additions other than manual ones.
eos Posted April 15, 2014 Posted April 15, 2014 I'd recommend leaving the import table as a join table and create parent entities; this will give you much more flexibility. See here for an example (I've totally forgotten how unattractive layouts could be pre v12 …). Apply the script to the included sample data. See how the newly created name records calculate their respective summary. You can easily change the way the summary works or the names of the stati.. When you've imported everything successfully, delete the text fields in the import table; the attributes are now stored as keys, referring to the parent tables. ImportAndCreateParentsForJoin_eos.fmp7.zip
Newbies dikkeberta69 Posted April 15, 2014 Author Newbies Posted April 15, 2014 Wow eos! You've done nearly all the work for me! Spitze! I think this solves my problem totally. I guess I'm less "Intermediate" than you are. You rock. Recht herzlichen Dank.
Recommended Posts
This topic is 3936 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