IF !EMPTY(ALIAS()) BROWSE ELSE ** Write message to log file. ENDIFInstead of a warning message in the ELSE, you could write a message to a file with the FPUTS() function. If there are error messages you want to trap, you may want to look at the ON ERROR setting. You could set it up to log errors to a log file. Note that the open dialog that comes up when you issue BROWSE with no table open isn't an error, so it wouldn't be caught by ON ERROR.