Ok thanks I got it
>>How do I check for the existence of an object?
>>
>>Please help
>>
>>Jim
>
>In fact the only correct way is.
>
>loObject = createobject(...)
>
>If type('loObject') == 'O' and !isnull(loObject)
>
>Cause the variable type can be of type 'O' but not pointing to an object reference.
Thanks
Jim