2 Replies Latest reply on Nov 20, 2013 8:30 AM by swaney

    Creating Portal Rows in FMP 11

    swaney

      Title

      Creating Portal Rows in FMP 11

      Post

           Hello,

           I am new at my job and new at using FMP 11. I am working on making Portal Rows on my Layout. I go to Edit Layout And create a portal row and a Button, save Layout. It works, but only for the first student in my table. When I go to another student I cannot Click in the portal and the button doesn't work. What am doing wrong please??

        • 1. Re: Creating Portal Rows in FMP 11
          philmodjunk

               Each portal row is a record in a related table. If you open Manage | Database | Relationships, you can find the Tutorial: What are Table Occurrences? for your layout and the table occurrence for you portal. If you double click the line that connects them, you can select "allow creation of records via this relationship" for the portal's table occurrence. This will add an extra blank row below the last record in your portal. If you enter data into a field in this portal row FileMaker will automatically create and link a new record in the portal's table.

               Not all relationships that might be used for a portal permit this option and some developers prefer to use a button for adding new portal records to keep from having to scroll the portal to expose that blank "add" row each time they need to add a portal record. A button for this uses a script to create a new record in the portal's table and link it to the current record on your layout.

          • 2. Re: Creating Portal Rows in FMP 11
            swaney

                 Thank you Phil! Works perfectly now!