These two commands provide a list of views in the current database. Each shows the name of the view and whether it's local or remote. Views that have been taken offline also include a notation to that effect.
DISPLAY | LIST VIEWS
[ TO PRINTER [ PROMPT ]
| TO [ FILE ] cFileName [ ADDITIVE ] ]
[ NOCONSOLE ]You can get the same information using a combination of ADBObject() and DBGetProp().
A database needs to be open and current before issuing these commands.
OPEN DATA TasTrade
LIST VIEWS TO PRINTERADBObjects(), Create SQL View, DBGetProp(), Display and List, Modify View