INeedAccessHelp
MIS
Hi
I have a form that will delete the current record if the user closes the form by clicking on the "x" button in the upper right corner. I do this so that the user must click a command button in order to submit the information to the dbase.
Well, this upper right corner has 2 "x" buttons. When the bottom (form) "x" is clicked, the application does what it's supposed to and runs the On_Close event of the form which deletes the record from the dbase. When the user clicks the top (application) "x" button, the data is submitted to the dbase even though it the record is incomplete.
Any ideas on why it does this and what solutions you may have. Thanks.
I have a form that will delete the current record if the user closes the form by clicking on the "x" button in the upper right corner. I do this so that the user must click a command button in order to submit the information to the dbase.
Well, this upper right corner has 2 "x" buttons. When the bottom (form) "x" is clicked, the application does what it's supposed to and runs the On_Close event of the form which deletes the record from the dbase. When the user clicks the top (application) "x" button, the data is submitted to the dbase even though it the record is incomplete.
Any ideas on why it does this and what solutions you may have. Thanks.