-
You most likely need to remove the nil attributes from IssueDT, BgnDT, EndDT, ChkNum, etc., not from oNewRow.
-
You need to find a way to pass the MainDataSource variable to the code in your Class.cs file from the code in FormCode.cs.
-
You should be selecting the repeating nodes and removing those, not the children of the repeating nodes.
-
bigString.Contains(littleString) should do the trick.
-
Are the work, Holiday, and Vacation fields themselves numeric, or do they have child fields that are numeric? If it's the latter, then that formula is not going to work.
I think a screenshot of your data source, indicating which fields you want to sum, would help a lot.
-
writer.WriteEndElement() should be outside the for loop, not in it.
-
You seem to be describing two entirely different things: one is manipulating the user's mouse/keyboard cursor, and the other is preventing submit under certain conditions. The latter is a much more reasonable objective.
Have you tried just adding validation to the field in question? Or if you're having users submit ...
-
It's not possible to add rows to a table using only InfoPath's built-in features, but it's quite easy to do if you have Qdabra's qRules!
-
Most likely you need some combination of ../ in your path to my:r1_txt1, like "../my:r1_txt1", but is there any reason you can't accomplish this with a rule rather than code?
-
There simply is no way to directly access a form's controls or the controls' properties from the form's code behind. I suppose you could access the form's XSL and find out some information about the controls that way, but that would be far too complex to be worth your time.
Would you mind sharing what it is you are trying to ...