PROCEDURE QueryUnload lParameters lByPassRelease Local lRetVal lRetVal = .T. */ Check stuff here and store result to lretval If NOT lRetVal NODEFAULT Endif RETURN lRetVal ENDPROCIs cleaner since it allows for the return to be executed at the last line of the method. Wait! That was yesterday's thread< g >.