>>use in iif(used("myAlisa"),"myAlias",0) >>>
USE IN SELECT("myAlias")That works great if you know a table is open (i.e. used) with an alias "myAlias", if it isn't then you get an error message. My method you don't get an error message if "myAlias" isn't in use and also it doesn't change the currently selected work area.