xdExtension and running code before rules.

N

n.repole

http://www.infopathdev.com/blogs/greg/archive/2004/09/15/Use-Code-to-Determine-a-Rule-Condition.aspx

I followed the steps from that tutorial, however I'm yet to get my
code to run. When I try clicking my button, which has the condition
xdExtension:DeleteRow() (DeleteRow is a function which I've tested and
is working, and returns true everytime), I get an error saying:

"Some rules were not applied.
Unspecified error."

Any idea what's wrong?

Also I'm curious, if I convert this form for use in a browser, while
xdExtension still work. If not, how do I submit to two different
connections (one a Access database and my main connection, another an
email) from code? I tried XDocument.Submit, and it doesn't seem to
submit correctly (only inserts one field into my database).


Thanks for any help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top