A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

event when leaving a record without update



 
 
Thread Tools Display Modes
  #1  
Old October 30th, 2009, 03:44 PM posted to microsoft.public.access.forms
SMoeller
external usenet poster
 
Posts: 17
Default event when leaving a record without update

In data entry view of my form, I would like to post a msgbox if the user
leaves a record and a specific field has no value. What is the event that
triggers this. Before/After Update does not work since I also need this even
if no update is made in a record (the user has only looked at a record). I
tried event unload too, does not work.
Thanks in advance!
--
smoeller
  #2  
Old October 30th, 2009, 04:01 PM posted to microsoft.public.access.forms
BruceM via AccessMonster.com
external usenet poster
 
Posts: 448
Default event when leaving a record without update

I can't imagine why you would want to pester people with a message rather
than requiring a value in the first place, but I suppose you could make your
own navigation buttons instead of the built-in ones, and test the field's
value as the first thing in the command button code.


SMoeller wrote:
In data entry view of my form, I would like to post a msgbox if the user
leaves a record and a specific field has no value. What is the event that
triggers this. Before/After Update does not work since I also need this even
if no update is made in a record (the user has only looked at a record). I
tried event unload too, does not work.
Thanks in advance!


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200910/1

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.