1 Reply Latest reply on Mar 30, 2015 2:00 PM by philmodjunk

    Disable Delete Record function for specific layout

    MoWoods

      Title

      Disable Delete Record function for specific layout

      Post

      I am trying to prevent or limit the deletion of records from a specific table. That is to say, I wish to be able to create/delete records from Table A, but to NOT be able to delete* records in Table B.

      Is there a way to accomplish this?

        • 1. Re: Disable Delete Record function for specific layout
          philmodjunk

          Your are using "layout" and "table" interchangeably, but you can set up many different layouts that are all based on the same table. Assuming that you don't want Delete Records to work on a Layout for Table B, if you have FileMaker Advanced, you can set up a custom menu set where Delete is not an option and install it as the menu set for your layout. You can either remove the option completely, or set up your custom menu to perform a script that checks the layout name and refuses to delete a record while displaying an error mesage in a custom dialog if you are currently on  Layout B.