-
Yes, certainly. One of InfoPath's fundamental features is hiding and showing sections based on fields' values. This can be accessed via the sections' formatting rules in InfoPath 2010.
-
You can simply create a Form Load rule to change the view accordingly. In IP2003/07, the form load rules can be accessed in the Form Options. In 2010, they're on the Data tab.
-
Could you clarify what you mean by "assign the second view"?
-
It looks like you're missing the required spaces before the forward slashes. When all else fails, check the value of the Error field, as that will help track down a large number of issues.
It also looks like your command is trying to locate list items where the Mod2 field is equal to the value of the ProdNo field in your form. If ...
-
No need to have a control that's never visible. Just add a boolean field to your data source and give it the default value formula:
not((checkBox1 | checkBox2 | checkBox3 | ...)[. != 'true'])
Or if your other checkboxes are in a repeating group, it's even easier:
not(repeatingCheckBox[. != 'true'])
-
Hi Scott,
Yeah, that was my comment from the other day. :-)
Now that I'm searching through old forum posts, I can't find any strong evidence that this trick doesn't work on browsers, so I may have been mistaken there. One thing you can try first is to use 
 or 

 instead of just 

If ...
-
Hi Scott,
I hate to be the bringer of bad news, but everything I've heard about this method is that it doesn't work in the browser. I've yet to hear of any approach that does.
-
InfoPath 2007 client forms can display images, but browser forms cannot. In 2010, both client and browser forms can use picture controls. Are you working with a browser form?
-
Can you verify that all of the @SP-FOL1 fields have a numeric value? If any of them are non-numeric, you will get NaN.
EDIT: Actually, there's a problem with the part you have in quotes. Since the context node is @SP-ProcessAreas, I think you need to have ../@SP-FOL1
-
Can I ask why you insist on using an XmlTextReader?