-
That looks like it should work, except that it will cause a NullReferenceException if there are no items in the list yet. Try using an If statement to skip the rest of the subroutine if group2NodesCount is 0.
-
What does the delete code look like?
-
Are you sure you put that in the Changed event, and not the Changing event? I would expect trying to modify the data source during a Changing event to produce an error like that.
-
If you check the Show XPath checkbox, it will show the formula in a format that can be copied elsewhere, modified and copied back. Leaving it unchecked shows the formula in a more readable format that's not as conducive to copy-pasting.
-
IP 2010 has two different kinds of hyperlinks. The one on the home tab in the Controls box allows users to edit the hyperlink and its display text while they are filling out the form. The field bound to a hyperlink control should have an attribute underneath which serves as the display value. If you change the default value on ...
-
This statement:also, the data is never loaded more than once.appears to contradict this statement:If it's all the same list, are you re-querying it (i.e. re-triggering the data connection) every time you switch views? Same list and yes to re-querying.How should I interpret this? When you use the term "query" what do you ...
-
Ok, well there's absolutely no reason to requery the list every time you switch views. One query is all you need. So how about adding a condition to the rule that performs the query to only do it if the data isn't loaded yet (the condition could be something like Number of occurrences of (repeating field) <= ...
-
Please give this a try:substring(eval(eval(CountryRepeating, 'concat(" | ", my:Cntry)'), ".."), 4)Notice that I've surrounded it with that substring() function and reversed the order of " | " and my:Cntry. The 4 corresponds to the length of " | " (which is 3) plus 1.
-
If you want to actually display an incrementing timer on the form, the only option that might work is a custom ActiveX control.
If you just want to determine the amount of time elapsed between a certain start and stop time, you can set up a button with rules to save the start and stop times to a pair of fields, and then use qRules or a codeless ...
-
If you use the custom upgrade with code option, that means the burden is on you to write code to determine what needs to be upgraded and make the modifications therein. The automatic upgrade functionality gets turned off. That's a pretty big hassle and a reason why it's usually not a good idea to do the upgrade in code or ...