> FUNCTION completewhere() > LOCAL llRet > llRet = .t. > TRY > this.oparm = this.oParmObj.retparm() > CATCH TO loError > * catch the error here and run the method below. > this.getReqiredParms() > FINALLY > this.oParmObj.removeall() > ENDTRY > return llRet > ENDFUNC > > FUNCTION retParm() > LOCAL loRet , loError > loRet = CREATEOBJECT("empty") > TRY > FOR lnx = 1 TO this.count > ADDPROPERTY(loRet,this.aitems[lnx,2],this.aitems[lnx,1]) > NEXT > CATCH TO loError > * error occurs and throw the error to completewhere() > THROW loError > FINALLY > > ENDTRY > return loRet > ENDFUNC > >