Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable oExp.ErrorNo not found ?
Message
De
05/10/2012 14:49:01
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01554398
Message ID:
01554414
Vues:
53
The 'full' block is
Try 
  (some statement)
Catch to oExp
  if oExp.Errorno = 1466
...
oExp IS defined as an object and when I view it in the Debug window, it shows ErrorNo as a member, it is numeric and has a value. If I try to access oExp.ErrorNo, like in an 'If' statement, it generates the error in the title



>Where oExp comes from?
>
>>
>>In a Try/Catch block, in the Catch I've got the line
>>
>>If oExp.ErrorNo = 1466
>>
>>VFP is giving me the error of "Variable oExp.ErrorNo not found, yet there are plenty of examples where the ErrorNo is being referenced in the help files and when I look at the object in the debug window, I see a value for ErrorNo.
>>
>>I'm a wee bit confused here - what is VFP trying to tell me?
>>
>>Dorris
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform