Access vbokcancel in access

Joined
Oct 6, 2009
Messages
4
Reaction score
0
I am trying to use vbokcancel in a form.
Its when the user clicks the x in the top corner to close the form. I want to warn them that the data will not be saved so have put an ok cancel option in. I want to the ok optionto just close the form without saving the data and the cancel option to keep the form open. No matter what I try the cancel option still closes the form

Could someone help me with the code I need.

Many Thanks
Simon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top