Open your form in design view and display the properties dialog. Find your
form properties and then click the Event tab. Find the Before Update event
property and click the builder button on the right. Choose to enter some code
and then enter the code that I suggested. You will need to make sure the code
matches your control names.

Signature
Duane Hookom
Microsoft Access MVP
> Can you please explain how to do that, I just can't work it out.
>
[quoted text clipped - 46 lines]
> > > > > > >
> > > > > > > Monique
OK, I went straight to the main form in design view, clicked on the
properties icon and went to event tab, before update was not on the list, it
only shows if I actually click on the field properties of my DateModified
field, then when I click on the code builder it takes me to visual basic and
that's where I added the DateModified = Date as you suggested.
If I go back to the form view and change something it doesn't update that
field with the current date, if I click in that field and type anything it
comes back saying wrong data and autofills it with the current date but that
is only from me actually trying to enter data into that field.
Monique
> Open your form in design view and display the properties dialog. Find your
> form properties and then click the Event tab. Find the Before Update event
[quoted text clipped - 52 lines]
> > > > > > > >
> > > > > > > > Monique
Duane Hookom - 29 Aug 2007 05:22 GMT
When I view the Form properties (the word "Form" is in the title bar of the
property dialog) there are over 50 event properties (Access 2003). The fourth
event property in the dialog is "Before Update". This event property has been
there as long as I can remember.

Signature
Duane Hookom
Microsoft Access MVP
> OK, I went straight to the main form in design view, clicked on the
> properties icon and went to event tab, before update was not on the list, it
[quoted text clipped - 65 lines]
> > > > > > > > >
> > > > > > > > > Monique
Monique - 30 Aug 2007 04:10 GMT
I can see the before update event when I click on properties. I'll explain
to you exactly how I get there:
* Open DB
* Go to Forms section of the objects
* Double click on the "Students" form (which is the form I want to add the
date to)
* Click on properties icon, now what I notice when I click on that icon is
it automatically goes to the first field "UniqueID" so it's showing me the
properties for that field. If instead of clicking on the properties icon in
the design view I can change the field to detail, I see the before update
even and go to the code builder and put in =[DateModified]=[«Expr»]=[Date]
but it doesn't work.
I'm just not sure what I'm doing wrong, I can see the field you are talking
about in the properties but it's not saving it there or it's only saving it
to a specific field.
Monique
> When I view the Form properties (the word "Form" is in the title bar of the
> property dialog) there are over 50 event properties (Access 2003). The fourth
[quoted text clipped - 70 lines]
> > > > > > > > > >
> > > > > > > > > > Monique
Duane Hookom - 30 Aug 2007 05:08 GMT
Did you ever see the word "Form" in the properties dialog as I stated it
should? If not, click on the little rectangle to the left of the horizontal
ruler and above the vertical ruler. This should then display the FORM
properties, not the properties of a control or section.
Once you have this, you need to find the Before Update event and click the
builder. Go to the code window and enter the code that I suggested.
If have no idea how you came up with
"code builder and put in =[DateModified]=[«Expr»]=[Date]"
This looks like something from the Expression Builder, not any kind of
code/module window.

Signature
Duane Hookom
Microsoft Access MVP
> I can see the before update event when I click on properties. I'll explain
> to you exactly how I get there:
[quoted text clipped - 90 lines]
> > > > > > > > > > >
> > > > > > > > > > > Monique
Monique - 31 Aug 2007 01:04 GMT
OK
I didn't know how to find that, now I know, it was only giving me the detail
section so when I clicked on that little rectangle thing that took me to the
form properties. Your right I was doing it in expression builder not code
builder, when I did that it worked! Yay thanks so much, should I go and do
the same with the time now?
Monique
> Did you ever see the word "Form" in the properties dialog as I stated it
> should? If not, click on the little rectangle to the left of the horizontal
[quoted text clipped - 103 lines]
> > > > > > > > > > > >
> > > > > > > > > > > > Monique
Duane Hookom - 31 Aug 2007 02:54 GMT
You have my permission to set the time with the Time( :- ).

Signature
Duane Hookom
Microsoft Access MVP
> OK
>
[quoted text clipped - 113 lines]
> > > > > > > > > > > > >
> > > > > > > > > > > > > Monique