I have a form that is bound to a table. On that form I have text fields for
various fields from the table. In some cases if the user tries to update a
field with an invalid value, I want to cancel their update. I call a function
in the field's Before update event proc that checks to see if the value is
valid, and set Cancel = True when that function returns a false value. I know
that Cancel is being set to true, checked it out in Debug mode, yet the field
remains updated afterward. Any ideas why? Any help is appreciated.
Jim B
Alex Dybenko - 31 Mar 2008 17:43 GMT
Hi,
well, never saw this. make a simple form and try it there, perhaps something
wrong with your code.
you can also try to use form's beforeupdate event

Signature
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
>I have a form that is bound to a table. On that form I have text fields for
> various fields from the table. In some cases if the user tries to update a
[quoted text clipped - 8 lines]
>
> Jim B