6 Replies Latest reply on Feb 15, 2017 2:15 PM by DavidJondreau

    Script for button that toggles between form view and table view

    jeffsb

      How can I write a script for a button that, if a layout is in form view will switch to table view and if in table view will switch to form view. I can use "view as" to switch from one mode to the other and an if statement to decide which. But how can the script access the information about which mode, form or table, that the layout is starting from?

       

      Thanks for any help  with this.