Control Tabs - Preventing user from leaving page

P

Patrick GRaham

I have a tab control in a form for entering new records.
I want to restrict the user from leaving a page unless
they have filled in the controls. What is the easiest
method to do this?

I'm trying to use the Autonumber control to test it but
cant figure out what to do.
 
M

Michel Walsh

Hi,


Cancel the Before Update (sub)form event. Since the record could not be
save, you will still be in the same record, same (sub)form, same page.


Hoping it may help
Vanderghast, Access MVP
 

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

Top