-
Ok, I think I understand a bit better now.
It sounds like you should be able to accomplish this with an and operator:
count(bug[bug_sev = 'Sev1' and bug_pri = 'Pri1'])
-
I'm not really clear on what you're trying to accomplish. Could you give us a few more details? Possibly a screenshot of what you'd like it to do and what your repeating table looks like? You posted a table with some text, but it seems to have some formatting problems, and there aren't any numbers there. ...
-
You can use a formula like:
sum(/myFields/Absences/Absence[Type = 'Paid Vacation']/Days)
In each of the cells in that center column. InfoPath's formula editor can help you set up this filtering.
-
In IP 2007, you can use this.New in an if statement to only run certain code for new forms.
-
If you're using rules to assign the ID value, you can use separate rules with different conditions. That's just as good as an if/then statement.
-
If your query returns multiple rows, then max(@ID) will select the highest ID value. nz(@ID) would return the value of ID in the first row of the query results.
Does your SharePoint list query retrieve several rows of results, or just one?
-
Attached is a file with some JavaScript in it. You can rename the extension to .js, place it on your website, and reference it from your pages with
<script type="text/javascript" src="http://path/to/file/InfoPathOpen.js"></script>
You can also place the script directly in your page, surrounded with ...
-
This error will happen any time there is any IP 2007 OM code in your form. Even if you haven't added any of your own code to FormCode.cs, if the form is set up to use IP 2007 code, you will experience this problem with the Open link in DAT. It's caused by an incompatibility between the IP 2007 and 2003 OMs (DAT uses the 2003 ...
-
This error occurs when you try to open a form using the Open link in DAT and the form has IP 2007 object model code. Even if the code is commented out, there is still code in the form.
Instead of the Open link, please try the download icon (with the green arrow) on the General tab in DAT.
-
It should be xdXDocument:get-DOM()/my:myFields/my:Constants/my:EID, without quotes around it.