Without using a fully trusted form, is there any way to close, without
saving, an InfoPath (sp1) form progamatically? If not, is there anyway
to specifiy what order rules and form code are processed?
I have created custom code for emailing and submitting to WSS.
Basically I call a data connection using vbscript and I would like to
close the form after it has been submitted without prompting the user
to save.
Is it possible to call a rule from code?
Thanks,
Mike
T.Coita@gmail.com - 16 Jun 2005 10:40 GMT
hi,
in infopath design mode you can define a rules on a button click that
close your form:
poperty of the button, click rules, add action and select close the
fomular!
++
Thierry
Mike B - 16 Jun 2005 14:50 GMT
Which I have done, but if I use custom code that sets fields or submits
the form to a WSS library, the button rules fire first so the form is
never submitted.