Thanks for everyone's suggestions. 

I think if I check the disable exits(Alt-4,Esc,etc.) and put an "exit
button" I could stop the exiting in that eep if an error existed.

Dan Goldberg
 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of A. Razzak
Memon
Sent: Wednesday, May 07, 2008 9:06 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: About exiting a form

At 11:51 AM 5/7/2008, Dan Goldberg wrote:

>I have some commands that run in the form close eep.
>
>But I would like to do is when a condition exists to give the user an 
>error and cancel the form close so the user can fix the error.
>
>I could not find the command to abort the form close eep.
>Does anybody know the command??

Dan,

There is no way to abort the form which is already in the process of being
closed. Form "On Close EEP" is provided to clean some tables, clear
variables or even drop any temporary table(s), etc.

FWIW, you may need to adapt a different strategy to verify data, fix any
-ERROR-s, or execute special routines and/or procedures before closing the
form.

The ideal place to check and/or fix any -ERROR-s would be Table Settings in
Form Designer.

Form Designer | Tables | Add/Remove Tables... | Settings

The following options are available:

. On Row Entry
. On Row Exit
. After Saving Row
. After Leaving Section (table)
. On Before Insert
. On After Insert

Hope that helps!

Very Best R:egards,

Razzak.


Reply via email to