>LPARAMETERS nKeyCode, nShiftAltCtrl
>IF nKeyCode = 27
> eMessageTitle = 'Quit'
> eMessageText = "Are you want to quit ?"
> nDialogType = 4 + 16 + 256
> * 4 = Yes and No buttons
> * 16 = Stop sign icon
> * 256 = Second button is default
>
> IF MESSAGEBOX(eMessageText, nDialogType, eMessageTitle) = 6
> QUIT
> ENDIF
>ENDIF
>/PRE>
>
>Please advise.
>Derek
Instead of QUIT use CLEAR EVENTS.Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.