It really should go in the Before Update event of the form, not the control.
You said you want a date when the record is updated, but what you are trying
would update the date even if a user only viewed the record.
Assuming DateModified is a control on your form (can't tell because you
don't use good naming conventions), It should be:
Me.DateModified = Date

Signature
Dave Hargis, Microsoft Access MVP
> I would like to update the date field on a record whenever that record is
> modified. I've tried the following code which I got from MS Help without
[quoted text clipped - 14 lines]
> "Error Number" & Err.Number & "Occurred"
> Resome BeforeUpdate_End