Test whether the name exists
Something like this
The forms name is FormCust
if Wexist("FormCust") = .t.
activate window formcust
else
do form FormCust
endif
Steven Hui <stv...@mdn.centrin.net.id> wrote in message
news:e12pdaFB$GA.225@cppssbbsa05...
> Hello to you,
>
> I 've a form contain 2 command button.
>
> If click the the first button, it display customer input form.
>
> my problem is if I click the first button again, it also display the
> customer input form. that's I won't.
> so it display 2 (two) customer input form.
> but what i want is only display one customer input form.
>
>
> thanks
> steven
>
>
>