hi Peter,
> I am using the me.dirty property of a form to enable a save button to
> highlight changes have been made.
You may also query Me.NewRecord.
mfG
--> stefan <--
Peter, you are using the form's Dirty event procedure to enable your button?
(The form's Dirty property is a yes/no value.)
At least in some versions of Access, the Dirty event doesn't fire if the
record is dirtied programmatically. Therefore I would assume that whatever
is happening with your calendar control, it is dirtying the record, so the
Dirty event doesn't fire, so the button doesn't get enabled.
If that's the case, the solution will involve tracking down why the record
is being dirtied unnecessarily, and fixing that problem.

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
>I am using the me.dirty property of a form to enable a save button to
> highlight changes have been made. This seems to work fine except on the
[quoted text clipped - 5 lines]
> again. If I move to any other record all works fine
> Anybody any ideas?
PeterW - 19 Feb 2007 11:35 GMT
Thanks for your help - what is confusing me is that this only happens with
the first record in the set - if I move to another record then everything
works fine
> Peter, you are using the form's Dirty event procedure to enable your button?
> (The form's Dirty property is a yes/no value.)
[quoted text clipped - 16 lines]
> > again. If I move to any other record all works fine
> > Anybody any ideas?