Mike,
You can selectively turn OFF any -ERROR- message(s) in your command file (very handy for TRACing) by doing the following: SET ERROR MESSAGE Error# OFF To turn it back ON: SET ERROR MESSAGE Error# ON For example, to not see the: -WARNING- No rows exist or the specified clause. You can do the following: SET ERROR MESSAGE 2059 OFF This new feature has a limit of 5 -ERROR- numbers to set OFF and each one requires a separate command. To avoid any limits, I would recommend the following syntax: SET ERROR MESSAGE Error# ON SET ERROR MESSAGE Error# OFF Hope that helps. Enjoy and make sure to have fun! Very Best Regards, Razzak. At 04:42 PM 5/20/2002 -0400, Mike Sinclair wrote: >Sometimes when I have > >SET ERROR MESSAGE 2059 OFF > >in my code it works. Sometimes doing a trace it gives me an error >message saying the syntax is wrong. I seem to recall something about a >limit of 5 error messages that can be set off, and I also remember >seeing something about not being able to use that command more than 5 >times.......like maybe it should only be used inside Rbase.dat? or only >when followed by a > >SET ERROR MESSAGE 2059 ON > >to "undo" it? Can anybody shed any light? ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
