Update textbox if user change something

  • Thread starter Thread starter SF
  • Start date Start date
S

SF

Hi,

I have a form consist of several fields include 2 hiden fileds; Owner and
DateUpdate. Is there a way to change the DateUpdate and Owner to Now() and
Currentuser() respectively before moving to the next record if user is
editing the record?

SF
 
SF said:
I have a form consist of several fields include 2 hiden fileds; Owner and
DateUpdate. Is there a way to change the DateUpdate and Owner to Now() and
Currentuser() respectively before moving to the next record if user is
editing the record?


Use the form's BeforeUpdate event:

Me.DateUpdate = Now
Me.Owner = Currentuser
 
Back
Top