Testing for emty would be like :
if type('_screen.activeform')='O' and !isnull(_screen.ActiveForm)
...
Cetin
>Hmmm... So test that to see if it's empty? That may work. I'll try it.
>
>Thanks,
>
>Michelle
>
>>Michele,
>>Couldn't understand well. Maybe _screen.Activeform is what you're looing for.
>>Cetin