PC Review


Reply
Thread Tools Rate Thread

Control Tabs - Preventing user from leaving page

 
 
Patrick GRaham
Guest
Posts: n/a
 
      12th Oct 2003
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.

 
Reply With Quote
 
 
 
 
Michel Walsh
Guest
Posts: n/a
 
      14th Oct 2003
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


"Patrick GRaham" <(E-Mail Removed)> wrote in message
news:2855f01c390f3$e2827900$(E-Mail Removed)...
> 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.
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting user leaving page daveh551 Microsoft ASP .NET 4 6th Aug 2008 07:51 PM
RE: How to test for user leaving Unbound Control Ryan Microsoft Access Form Coding 3 10th Jul 2008 06:52 PM
Is there a way to tell if a user is leaving the page? Chris Roden Microsoft ASP .NET 4 13th Dec 2007 07:51 PM
Taming User Account Control just a little to get rid of some Nag Screens while leaving UAC on. Adam Albright Windows Vista General Discussion 8 8th Mar 2007 12:50 PM
Warn user before leaving page with unsaved changes markalroberts@gmail.com Microsoft ASP .NET 4 25th Oct 2005 05:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:52 AM.