Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to prevent form to run twice

0 views
Skip to first unread message

Jim Donovan

unread,
Sep 21, 1999, 3:00:00 AM9/21/99
to
Use the Wexist() function.

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
>
>
>

Steven Hui

unread,
Sep 22, 1999, 3:00:00 AM9/22/99
to
0 new messages