Exiting event not run

Hello,

I have notice that Exiting event does not run when user quit the field via action or menu selection (close for example).

I have put validation for some field and the Exiting event contains a refresh code.

The problem is that if the entry of the field is not correct when the user quit the field in order to select, for example, the close action, the validation formula is not checked and the doc is closed.

Is there a way to force this event in this case ?

thanks for your advice.

luc

Subject: Exiting event not run

There is no easy way to trigger a field exit when a document is closed.

You best option is to move the code to a “global” function, and then call it from both the field exiting event AND the query save or close.

HTH - Rufus.

Subject: RE: Exiting event not run

Ok !your answer is exactly the confirmation that I was waiting for.

thank you.

Luc