>Allan,
>
>Sorry, scrap the last message as I hit the send button while I was copying and pasting code.
>
>Try:-
>
>IF WVISIBLE('FormCaption')
> ACTIVATE WINDOW FormCaption
>ELSE
> DO FORM FormName
>ENDIF
>
>You may want to play around with the ACTIVATE WINDOW command depending or what you want to do with the re-activated window.
>
>Regards,
>Aaron
I used your code with the formname and it worked:
IF WVISIBLE('frmPracAdmin')
ACTIVATE WINDOW frmPracAdmin
zoom window frmPracAdmin norm
ELSE
DO FORM frmPracAdmin
ENDIF
Al Williams
Anola MB, CANADA