Date update upon modification

DarkProdigy said:
So I want it to update the DateModified field each time a value in the Hours field is modified through the form

That is what you need to do. Add the code I attached to the before or after update event of the Hours field. Use what I did in that field and see if it work.
gone for the day..will check in on this in a few hours.
 
I made the change and it is working now. Please compare mine to yours and you will see the difference.

I actually put this code.
Code:
me.DateModified.value = Now()
in the before update event. Please see the sub and you will see what I am talking about.

It was working for me, by evidence of the table having dates.

If you have any futher questions, please feel free to ask.

HTH
 

Attachments

holy jeez, thank you so much for the help selena, you're a peach
 
DarkProdigy said:
holy jeez, thank you so much for the help selena, you're a peach


Ssshhhh don't tell anyone that today. I am in a bratty mood, it may spoil my image. :cool:

I can tell where you errored, you had that line of code in the properties box instead of in a sub. You understand how don't you?
 

Users who are viewing this thread

Back
Top Bottom