I would like to be able to prevent a user from clicking on the X , the _ and the restore button on my form becasue I ahve error checking and sometimes this by passes it even thought it checks it.
In the form properties you can set these properties to no. Click the small box in the upper left hand corner of the form in design view and properties will go to form.
I did that when I take the border style to none. THe X goes to dim but I can still click on it. Actually now I would like to get rid of restore icon. I can only get ride of the min and max button
I know how to take out min and max on the form I want to take out the restore button on the form. AFter clicking on that link the link on that page wont open
I am guessing that your form is Maximized when opened. You can not remove the forms Restore button and the forms Close X button on the form unless you set the forms PopUp property to No if the form is opened as Maximized. Be careful if you do that because the whole Access application will no longer have a Restore button or Close X button when that form is opened as Maximized and the PopUp property is set to Yes.
Your error checking is in the WRONG event. Move it to the BeforeUpdate event of the FORM. If an edit fails, you will need to cancel the update with -
Cancel = True