Fill in a field automatically if another is changed

ppataki

Registered User.
Local time
Yesterday, 21:09
Joined
Sep 5, 2008
Messages
267
Dear All,

I am struggling with an issue in Access:

Is it somehow possible with a query or a form that if one field is filled in with a specified character string (like "OK"), another field in the same record gets updated automatically (eg to today's date)?
(so not only shows it but gets really updated phisically)

I need this function to be able to track certain changes

Your help would be very much appreciated! ;)
 
yes. you can do this in the before update event of a textbox.

the code would look soemthing like this
Code:
if (me.yourtextboxname="ok") then
me.yourdatefield=now
else
end if
 
Hello,

Thank you it works fine!!
(however I put that to AfterUpdate event) :)
 

Users who are viewing this thread

Back
Top Bottom