complete-db Posted February 15, 2002 Share Posted February 15, 2002 Hello, I have an application where I need to import data from a tab text file into two filemaker databases that have a parent/children relationship. Can anyone advise the best way to approach this. The data looks like this. parentrecordA1->Field A...Field K childrecordA1->childfield1...childfield12 childrecordA2->childfield1...childfield12 childrecordA3->childfield1...childfield12 childrecordA4->childfield1...childfield12 parentrecordB1->Field A...Field K childrecordB1->childfield1...childfield12 childrecordB2->childfield1...childfield12 childrecordB3->childfield1...childfield12 childrecordB4->childfield1...childfield12 Thanks for any help you can offer. Paul S. Cuscione [email protected] Link to comment Share on other sites More sharing options...
BobWeaver Posted February 15, 2002 Share Posted February 15, 2002 You could check out this topic. http://www.fmforums.com/ubb/ultimatebb.php?ubb=get_topic;f=13;t=000065 I posted a script that will import and split data into parent and child files. The example is similar to what you are trying to do, I think. Link to comment Share on other sites More sharing options...
rrrichie Posted February 18, 2002 Share Posted February 18, 2002 General Method: Import the file into both databases. Then delete the child records in the master file and delete the masters in the child file. I don't know if you have a common key, otherwise you would have to generate one. Find and Replace commands could do that. Greetings... Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7703 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