Thanks to Gary & Chris, The information they supplied was invaluable. Below is the section of code which accomplishes my problem. sub SaveTableEditsHandler if CommandInfo(CMD_INFO_EDIT_TABLE) = "Swr_Cat" then Terminate Application "SewerViews.mbx" end if end sub 'SaveTableEditsHandler Thanks again Scott. ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
