OnBeforeChange is a cancellable event. Have you looked into that?
--
Andrew J. Ma
Software Test Engineer
Microsoft Office InfoPath http://blogs.msdn.com/ajma
---------------------------------------
This posting is provided "As Is" with no warranties, and confers no rights.
Use of any included script sample are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm.
Please do not send email directly to this alias. This alias if for
newsgroup purposes only.