danjacoby Posted July 8, 2000 Posted July 8, 2000 I have a script that performs a find, then does some other things. I want it to finish by creating one related record for each found record, setting a particular related field to info put into a global field in the parent file. I can do this the hard way by shuttling between the parent and child files, with multiple scripts. Is there an elegant way to accomplish this (such as a "new related record" command, or some such)?
Kurt Knippel Posted July 8, 2000 Posted July 8, 2000 quote: Originally posted by danjacoby: I have a script that performs a find, then does some other things. I want it to finish by creating one related record for each found record, setting a particular related field to info put into a global field in the parent file. I can do this the hard way by shuttling between the parent and child files, with multiple scripts. Is there an elegant way to accomplish this (such as a "new related record" command, or some such)? Nope! Use a "New record" script in the parent file, which calls a "New record" script in the child file. You could also use a portal on the screen, goto the last portal row and add some data, but I find this to be a pretty ugly way to do it and not really any easier than the two script method. ------------------ =-=-=-=-=-=-=-=-=-=-=-=-= Kurt Knippel Senior Filemaker Developer http://www.inthescene.com mailto:[email protected] =-=-=-=-=-=-=-=-=-=-=-=-=
Recommended Posts
This topic is 8960 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