BeforeUpdate event has a Cancel argument for this purpose. Add the line
Cancel = True
to the appropriate place in your code and the Update won't happen.
HTH,

Signature
George Nicholson
Remove 'Junk' from return address.
>I am in the process of migrating the backend to MySQL and testing the
> frontend with MsAccess 2000. I need to check that all necessary data
[quoted text clipped - 13 lines]
> End If
> Any help is very much appreciated. thank you.
Samantha - 30 Aug 2005 18:19 GMT
Works like a charm. Thanks Geroge.
> BeforeUpdate event has a Cancel argument for this purpose. Add the line
> Cancel = True
[quoted text clipped - 18 lines]
> > End If
> > Any help is very much appreciated. thank you.