2 Replies Latest reply on May 7, 2014 9:26 AM by philmodjunk

    Efficient Creation of Related Records in FM GO

    SC

      Title

      Efficient Creation of Related Records in FM GO

      Post

           I'm wondering what method folks are preferring for scripted creation of related child records in FM GO.

            

           With Pro I would generally store the parent ID in a local variable, change layouts to a utility layout of the related table, create a new record, set the parent ID, set a other data as needed and then return to the original layout.  This seems ponderous in the GO environment.  How are folks doing this with GO?

            

        • 1. Re: Efficient Creation of Related Records in FM GO
          TSGal

               S C:

               Thank you for your post.

               The script used in FileMaker Pro should also work in FileMaker Go.  In FileMaker Pro, go into Manage Scripts, select your script, and in the bottom left corner of the script, change the pop-up below "Show Compatibility" to "iOS".  This will let you know if any script steps in FileMaker Go are not compatible.  However, from your general description, Set Variable, Go to Layout, New Record/Request and Set Field script steps are all compatible.

               TSGal
               FileMaker, Inc.

          • 2. Re: Efficient Creation of Related Records in FM GO
            philmodjunk
                 

                      This seems ponderous in the GO environment.

                 In what way is this "ponderous"?

                 It is also possible, both Pro and GO to create multiple related records without changing layouts to do so if you set up a special relationship just for the purpose of creating the related records. This isn't really any simpler though it can be a way to avoid tripping script triggers when the layout changes layouts.