Will add the ISNULL vette. Thanks for the suggestion!
>Hi Terry,
>
>Don't sit up waiting! VFP9 beta will be out in June, and VFP9 will be relesased September/October AFAIK.
>
>BTW, as far as I can remeber you should use:
>
>If VARTYPE(SoAndSo)=="O" and !ISNULL(SoAndSo)
> SoAndSo.Value="New Value"
>Endif
>
>
>
>>What is the status (if any) of a VFP8 SP2. I am spending a lot of time inventing clever work arounds to prevent leaks in some of the more straight forward action methods.
>>
>>Example:
>>If VARTYPE(SoAndSo)=="O"
>> SoAndSo.Value="New Value"
>>Endif
>>I just had an incident where VFP error manager told me
SoAndSo "is not an object" at
SoAndSo.Value="New Value" , even though VFP vetted the test (in the line before) as true!
>>
>>I will admit this much:
>>SoAndSo is a form name, as well as a PRG name and a DBF name!
>>
>>Should I go back to 6?
Imagination is more important than knowledge