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  

Can't leave field if it's used to modify another?



 
 
Thread Tools Display Modes
  #1  
Old December 11th, 2005, 10:41 AM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Can't leave field if it's used to modify another?

I have a simple Access 2000 form displaying multiple records in a
tablular (continuous form) format. I have an Exit procedure on one
field that checks if it's changed; if so, it updates the value of
another field.

All's fine if I Tab or Enter to leave the changed field, but if I use
the mouse to move to another record focus stays on the original field.
(And I'm never setting Cancel in the Exit procedure). Any ideas?

  #2  
Old December 11th, 2005, 11:50 AM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Can't leave field if it's used to modify another?

Could you use the AfterUpdate event of the control?

That fires only if the user changed the value, and is less likely to mess
with the focus issue.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"RG" wrote in message
ups.com...
I have a simple Access 2000 form displaying multiple records in a
tablular (continuous form) format. I have an Exit procedure on one
field that checks if it's changed; if so, it updates the value of
another field.

All's fine if I Tab or Enter to leave the changed field, but if I use
the mouse to move to another record focus stays on the original field.
(And I'm never setting Cancel in the Exit procedure). Any ideas?



  #3  
Old December 11th, 2005, 10:59 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Can't leave field if it's used to modify another?

Perfect! Thanks for your help.

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form, Subform, Tab key 2nd_Stage_User Using Forms 17 August 25th, 2006 12:30 AM
Help to merge Image (Doug Robins?) JohnB Mailmerge 21 June 23rd, 2005 05:28 PM
Design help, please SillySally Using Forms 27 March 6th, 2005 04:11 AM
Syntax needed to get needed reports Frank Lueder New Users 15 January 6th, 2005 08:39 AM
Modify Time Field Joe Running & Setting Up Queries 1 June 13th, 2004 02:10 PM


All times are GMT +1. The time now is 10:03 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.