-
Are you trying to recreate the form from the tutorial? If you followed the steps exactly, the code should work (I still have my XSN that I made for that HowTo if you want it). Or are you trying to apply the HowTo to your own situation?
Either way, it sounds like you are getting an XPath error so that selectSingleNode returns a null object. As a ...
-
This seems like your XPath is wrong. Can you paste the string that you pass to the getNode() function?
If this string is automatically generated you can add a QuickWatch in the Microsoft Script Editor that will tell you what the value of this variable is.
-
Hopefully this will keep someone from pull their hair out in the future...
This error occured to me because of a namespace issue. I had a form that had been developed originally on a previous version of InfoPath. I was creating a new view that would be heavily based off of a view that was already created. Therefore I figured that I would copy ...
-
I am getting this error, too! Virgul, what was it that got corrupted in the schema?
I only made a few small changes to a view between saves and I'm getting this error.
-
Yes, you should be able to accomplish pretty much anything by constructing the appropriate CAML query. I posted a link on April 5, 2006 to a CAML Query Builder program that Patrick Tisseghem has written. I haven't actually used it, but it looks pretty cool.
-
Check out these tutorials, I think they're doing what you want:
http://www.infopathdev.com/howto/tutorials/default.aspx?i=0bb37b4de44348408680a53a449f2353http://www.infopathdev.com/howto/tutorials/default.aspx?i=3ed83f87f32a4b9699dfcd232cc4e602
-
Can you believe this?! Three simultaneous posts! The probability of this happening is so slight! Crazy!
-
For future reference, check out this cool utility we have to help in creating regform command line parameters:
http://infopathdev.com/webstore/detail.aspx?itemid=24
-
You could do this easily with rules on the checkbox or with code in the OnAfterChange event.
1. To add rules double-click the checkbox, and then click the Rules button.
2. Click Add, set the condition so that the rule fires when checkbox is equal to TRUE, click OK.
3. Click Add Action.
4. Choose change a field's value - use the formula boxes to ...
-
This also might be useful:
http://infopathdev.com/howto/tutorials/default.aspx?i=d663d7df90e94e65abb02632966e8127