>>
if type('myform.mygrid')='O' and not isnull(myform.mygrid)
>> *Object Exists
>>endif
>
>had trouble with this until I spotted your 'myform' inclusion. The secret is to include the full object reference (in my case "Cashbook.pageframe1.page3.grid1") rather than just "grid1". Then it works fine
>
>Thanks
>
>Harry,
Change that to;
Thisform.pageframe1.page3.grid1
and it will work even if the name of the form is not cashbook.