Try posting the pfc_close message, so the code will look similar to:
if <condition> then
......
else
gnv_app.inv_error.of_message(.....)
this.post event pfc_close()
return
end if
D
----- Original Message -----
From: Khalid Al-Sonbul <[EMAIL PROTECTED]>
To: PFC SIG <[EMAIL PROTECTED]>
Sent: Tuesday, August 31, 1999 7:33 AM
Subject: PFCSIG Close window w/o executing pfc_postopen
> Is there a way to do some checking in a sheet window's open event and if
> the result is FALSE ==> 1. display an info msg 2. close the sheet window
> and return to the calling frame window.
>
> the code I'm using is similar to:
>
> IF <condition> THEN
> .......
> ELSE
> gnv_app.inv_error.of_message(..........)
> close(this) // close the sheet window
> return
> END IF
>
> The problem I'm facing: PB continues to execute pfc_post open and
> generates GPF. Is it possible to avoid this situation?
>
> TIA
>
>
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]