Hello,

I need a bit of VBA that can tell the database to ignore the prev command ??

i.e. I have form with no close button, but in the toolbar (Which is needed) there is a close button, that can also close the form your in. I have an on close event in each form which can make sure the form has been closed via the correct close command button. but If the form has not been closed correctly they I want it to ignore the previous statement/Command ???

Please Help