-
Gotcha. Thanks for the clarification.
ASP.NET uses System.Xml -- which is the same thing that InfoPath 2007 coding uses (i.e. the non-backward compatible IP03 code). You can find information on how to program for this across the Internet, but here's a good starting point: http://msdn2.microsoft.com/en-us/xml/bb291078.aspx
-
Sorry, no. That is a string internal to the application and not editable.
-
Strange, I didn't have any issue at all with how I described it. The rule is only supposed to fire after the id value updates. This rule then increments the seed (after the update). The id value is a "default value formula" and not a rule. And it is set to not update when the caclulation changes.
-
You're doing it the only way you can -- clearing the error collection.
-
Sorry. InfoPath is sandboxed, preventing such hacking. There's lots of things we'd like to do like this, but cannot.
-
Sure. Hopefully it will be useful.
-
InfoPath is sandboxed and doesn't allow such things. However, if you use an HTML task pane, you can catch such events there (but not in the form itself). This probably won't help much with what you are trying to do though.
Sorry.
-
Maybe this article will help:
Visual Studio Debugging: "Unable to Attach to Application" Error
http://www.infopathdev.com/blogs/greg/archive/2005/03/29/Visual-Studio-Debugging_3A00_-_2200_Unable-to-Attach-to-Application_2200_-Error.aspx
-
What exactly do you mean by "XML InfoPath file" and "programmatically"?
Are you talking about reading an InfoPath form file (the resulting XML file saved from a form template) outside of InfoPath (in some other application)?
Are you talking about reading the form manifest.xsf file?
Are you talking about writing code within ...
-
Here's what I did, and it was working fine for me:
I took your same basic schema (except I had a days node around the repeating day node).
Then I added two fields: day_id_seed, and detail_id_seed. I set both of these to a default value of 1.
For day_id... I set the default value to day_id_seed (and unchecked update value when result changes ...