ON ERROR DO ERRTRAP WITH ERROR(), PROGRAM(), LINENO() PROCEDURE ERRTRAP (nErrorNo, cMessage, nLineNo) cMsg = "Error number : "+ALLTRIM(STR(nErrorNo))+CHR(13)+; "Origin : "+cMethod+CHR(13)+; "Description : "+MESSAGE()+CHR(13)+; "Line number : "+ALLTRIM(STR(nLine))I didn't change anything in VFP7 but why is it that nErrorNo, cMessage, nLineNo variable parameters no longer contains expected value. It always returs .F. always.