human_anomaly
Registered User.
- Local time
- Today, 14:34
- Joined
- Apr 12, 2004
- Messages
- 69
I have forms that are trying to save when they are being closed and with null values it displays an error message. I want to stop it from saving when closing the form. Normally this wouldn't be a problem I could create a custom button that closes the form without saving using a code such as: DoCmd.Close acForm, "F_Orders", acSaveNo
but the user doesn't want a custom button they want to close it using the "x" close button on the form in the upper right hand corner. Is there any way to edit this action so it doesn't try to save when it is clicked?
Thanks,
Ben Fyvie
but the user doesn't want a custom button they want to close it using the "x" close button on the form in the upper right hand corner. Is there any way to edit this action so it doesn't try to save when it is clicked?
Thanks,
Ben Fyvie