I need to know what VIEW AS is chosen at the beginning of a script, so that for instance, if its a Table View, it should not run...
How can I find this?
Thanks in advance,
have a look at Get(LayoutViewState). It returns a number indicating the currently active database file view.
Retrieving data ...