>>>If you are on a form, how do you call the click event
>>>that is on another form?
>>
>>
>>MyForm.MyObject.click()
>>
>>You can error check with:
>>
>>if !MyForm.MyObject.click()
>> ...Handle Error...
>>endif
>>
>>Tom
>
>Hi Tom...
>
>That does not work. Maybe I am doing something wrong.
>These form are not in a formset.
>code...
>
>In Update.scx
>
>click event of some command button.. in customer.scx (another form)
>code...
>update.myobject.click()
>What now??
Try looking at the Debug menu and see if your pathe to the click event is correct.
Also, watch you Key Words. UPDATE is also a reserved word in VFP. You can always name your instantiated objects as 'frmUPDATE' which now makes it more legitimate. This is just a good habit to get into.
Tom