>FUNCTION Error >PARAMETER nError,cMethod,nLine >if !empty(alias()) and !this.lFirstTry > select 0 > retry > this.lFirstTry = .T. >endif >this.lFirstTry = .F. >RETURN TO ShowMessage >ENDFUNC >I tried that code and it's the same thing. It goes in the error event but returns to the line just after the COUNT.