Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On Error...Ok in VFP6 not in VFP7
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
On Error...Ok in VFP6 not in VFP7
Divers
Thread ID:
00551946
Message ID:
00551946
Vues:
61
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.

TIA
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform