Setting the Environment |
When R:BASE creates a procedure file, it automatically sets the operating environment and opens the database you specify at the beginning of the procedure file. Because R:BASE sets the operating environment and opens a database, do not include SET MESSAGES ON or SET ERROR MESSAGES ON in your custom code unless you end the file with SET MESSAGES OFF and SET ERROR MESSAGES OFF. Also, do not close the database for your procedure file in the custom code unless you reopen it before the end of the code.