>>>I want to use AddObject to add a object on my form. How do I know if the object is already added?
>>>
>>>Thanks in advance.
>>>
>>>Jim
>>
>>If type('thisform.MyOBject') = "O"
>> ** Great, it's here
>>else
>> ** Better load it
>>endif
>>
>>Barbara
>
>You must also check if MyObject is not NULL. Type() function will return "O" if the object was created and released.
>
>Vlad
Oops. (shamefaced grin) I always forget to do that until it blows up on me.
Barbara