AnsweredAssumed Answered

Script for button that toggles between form view and table view

Question asked by jeffsb on Feb 15, 2017
Latest reply on Feb 15, 2017 by DavidJondreau

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.