Advertisement

07.09.2006 at 04:10PM PDT, ID: 21913174
[x]
Attachment Details

What event should I use when leaving a text box?

Asked by prettykittyq in Microsoft Access Database

Tags: afterupdate, appointments, beforeupdate, events

The section of my database in question allows users to request permission to overbook an appointment.

They aren't allowed to book (let alone overbook) any appointments on a day when the clinic is closed.

When they enter the form to request permission, the first thing they do is enter the date for the overbooking.

I've got a routine that will compare the date they've entered into my text box OBDate to the table with the clinic closed dates.  It pops up a message box to tell them the clinic is closed and no appointments are allowed.

The problem I'm having is figuring out what event is the best one to use to run that routine.

I've tried BeforeUpdate, AfterUpdate, Exit, LostFocus and none of them act reliably.

Behavioral quirk:  Most of my users use the TAB key to move from box to box but some insist on using their cursor.  Don't know if that affects the answer but it might.

Any help would be greatly appreciated.  After all these years, I still don't really understand events.

Thanks!

KittyStart Free Trial
[+][-]07.09.2006 at 04:24PM PDT, ID: 17069734

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Tags: afterupdate, appointments, beforeupdate, events
Sign Up Now!
Solution Provided By: jefftwilley
Participating Experts: 5
Solution Grade: A
 
 
[+][-]07.09.2006 at 06:46PM PDT, ID: 17070031

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2006 at 11:46PM PDT, ID: 17070853

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.10.2006 at 02:31PM PDT, ID: 17077247

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.10.2006 at 02:37PM PDT, ID: 17077281

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.11.2006 at 03:35AM PDT, ID: 17080202

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.11.2006 at 06:00AM PDT, ID: 17081047

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.11.2006 at 06:57AM PDT, ID: 17081509

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.07.2006 at 02:53AM PDT, ID: 17469309

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.11.2006 at 02:24AM PDT, ID: 17492744

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32