suppose that we have a window that contains datawindow dw_1. suppose that the users starts entering data and by mistake closes the window before save them. We want to send him a message indicating that the changes that he made will be lost. we want deal with this issue in the following cases.
1) if the user enters data to store them in a new record (no retrieve has been done)
2) if the user retireves a record and correct some data in it
how can we do it?