Actually I was confused by your terminology... What do you mean by
"popup"? I think everyone here considers a "popup" as being a "popup menu"
that
you define on the field where it just brings up a list of values to choose
from.
If you are calling the form from an eep (whether from a field or a button),
then you do something like this. Haven't tested it...
Your main program (you need a flag to tell you whether to come back to the
first form)
LABEL formagain
SET VAR vFromSecond TEXT = NULL
EDIT USING FirstForm
IF vFromSecond = 'yes' THEN
GOTO formagain
ENDIF
The eep code that calls up the second form
EDIT USING SecondForm
-- this code happens after you have exited the second form and want to go
back to the first form
SET VAR vFromSecond = 'yes'
CLOSEWINDOW -- this closes the first form
RETURN
> Ok,
>
> Sounds good.
>
> Now how do you exit the form when you use the popup instead of the form
> being in the background.
>
>
>
>
>
>