1 Reply Latest reply on May 3, 2011 3:16 AM by james.gould

    execute action on empty portal row click



      execute action on empty portal row click


      hi, i have two tables: one is person, and other is events. in person table i have a portal which shows all the events related to that specific person. i have additionally put a button on portal row so when i click on any row of portal which has event it would show up specific event details. is it possible to add event record when the empty row of portal is clicked, and show event record so that user can fill up the other information? thanks a lot in advance!!!

        • 1. Re: execute action on empty portal row click

          Open the Manage Database dialog - where you control the tables, fields and relationships.

          Then in the relationships tab, double-click the relationship between Person and Event and it will open a new dialog that defines the relationship between the two tables. This dialog shows details of the relationship in two vertical halves - 1 for each table. At the bottom of the dialog there are several checkboxes. On the Event side, check "Allow creation of records through this relationship". Click O.K. to confirm the changes and click O.K. again on the Manage Database dialog.

          Now the first blank row in the portal will represent a record that hasn't been created yet. Entering any field in this first blank row will, create a record in Events - related to the Person that is currently being viewed.