Also, the above code would not raise an error, if you are planning to handle each SQAFail event as an error then you need a custom error handler and should review the Err statements in SQA Basic Help, since you would need to define and then raise an unused err number for each condition you wanted to send to the error handler.
Paul Downes posted some good info on the Yahoo site for Error Handling. Search the site for Error Handling and it will return some good info to get you started on a custom error handler.
Victor, if you have a different question please start your own topic. Never ask your own questions if they are not related to the topic you are posting in. This is called "hijacking". If you do start a new topic, try to be more clear with your question.