Solved

How to get Access field to update immediately

Posted on 2013-12-21
3
508 Views
Last Modified: 2013-12-21
I've added two date fields and a textbox that give the total days an animal was in a particular area of our operation.  (see attached)

The Foster days and Vet days field won't update until you close and reopen the form.  

How do I fix this?

Control source.  =DateDiff("d",[FosteredDate],[FosteredDateReturned])
asn.png
0
Comment
Question by:J.R. Sitman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 400 total points
ID: 39734194
Seems it should. You can try putting a  Me.ReCalc in the AfterUpdate event of two dates involved in the total days calculation.

Private Sub FosteredDate_AfterUpdate()
    Me.ReCalc
End Sub


Private Sub FosteredDateReturned_AfterUpdate()
    Me.ReCalc
End Sub


mx
0
 

Author Closing Comment

by:J.R. Sitman
ID: 39734245
perfect.

Thanks
0
 
LVL 75
ID: 39734252
You are welcome. Keep up the good work with the animals :-)
mx
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question