Out of desperation try
local loExp as Exception
and use loExp instead of oExp.
>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
If it's not broken, fix it until it is.
My Blog