Hello all,
I would like to display ConfirmDialog with question Are You sure... before
the user deletes the row. I use OnBeforeChange event and if the action is
delete and blabla bla, I would like to display this dialogue. Everything
works fine except one thing. If user chooses the No, i set the false value to
the ReturnStatus member of the DataDOMEvent instance to cancel Delete
operation. But the error messagebox is displayed then. Is there the way how
to cancel the delete without displaying the error message ?
Paja
Greg Collins [InfoPath MVP] - 25 May 2005 23:14 GMT
Sorry, this is currently not possible. There is no way to prevent the InfoPath dialog from appearing. Hopefully this will be corrected in the next version.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
Hello all,
I would like to display ConfirmDialog with question Are You sure... before
the user deletes the row. I use OnBeforeChange event and if the action is
delete and blabla bla, I would like to display this dialogue. Everything
works fine except one thing. If user chooses the No, i set the false value to
the ReturnStatus member of the DataDOMEvent instance to cancel Delete
operation. But the error messagebox is displayed then. Is there the way how
to cancel the delete without displaying the error message ?
Paja