-
I believe that in 2007 code, it would be CurrentView, not XDocument.View.
-
For a much easier time, I recomment using qRules' Delete and Insert commands. With about 5 minutes and 2 commands, you can do everything you're trying to accomplish here, and in a much more robust manner.
-
Would you mind attaching your XSN to this thread so that we could see it? If that's a problem, could you extract the form files and just attach the myschema.xsd file?
-
Are you saying the error occurs when you enter .00, etc. in the Deficiency box or elsewhere? Where is the red box showing? What is the datatype of each of those fields?
-
It might work if you remove this from that first line: .Value
-
Sounds like you just need to add a formatting rule on the button like this:
Condition: The expression /my:myFields/my:group1/my:group2[last()]/my:field1 = ''
Formatting: Hide the button.
-
Perhaps there isn't a need for double eval here. How about this:
- Create another repeating section control from your Table group.
- Inside the repeating section, add an expression box with this formula: concat(my:Item, ', ', my:Centre, ', ', my:Area)
That's it!
-
Try avg((firstField | secondField | thirdField | fourthField | fifthField)[. > 1])
-
Is there any other qRules functionality in the form that is working? Perhaps the qRules functionality in your form got deactivated (due to accidentally adding code or something like that). Could you try running another command like GenerateGuid to test that out?
-
Does the qRules error field show any error after you click the button?