Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable oExp.ErrorNo not found ?
Message
From
05/10/2012 14:49:01
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01554398
Message ID:
01554414
Views:
54
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform