>It escapes me the syntax for checking for the existence of a control like a commandbutton. If...............?
>
>-TB
How about something like:
IF LOWER(PEMStatus(ThisForm, 'cmdExit', 3)) = 'object'
IF LOWER(ThisForm.cmdExit.BaseClass) = 'commandbutton'
Mark McCasland
Midlothian, TX USA