Newbies kgshirley Posted July 27, 2009 Newbies Posted July 27, 2009 I am very new to FileMaker. Is there a generally accepted way to create a new record in a child table where it maintains the integrity of the relationship.I am understand the relationship concept pretty good. I want to find a way to be in the layout of the parent table and goto the child table and have the match field data of the parent table automatically populate the match field in the child table. It seems to be a pretty straight forward process but I am not sure how to do it in FileMaker. I didn't see any discussion in the documentation. Maybe I overlooked it but I need help with it.
comment Posted July 27, 2009 Posted July 27, 2009 Basically, there are two ways: 1. Enter the child data into the last portal row. This will automatically create a new child record and make it related to the current parent - provided the relationship is set to allow creation of child records; 2. Run a script that (a) loads the current parent's primary key into a variable, (: goes to the child table, © creates a new record, (d) sets child's foreign key to the variable, (e) ... .
Newbies kgshirley Posted July 27, 2009 Author Newbies Posted July 27, 2009 Sure do appreciate the response. I just needed to know what the possibilities were and what steps were known to work.
Recommended Posts
This topic is 5657 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