-
By it, RichardA is referring to InfoPath. And you wouldn't necessarily have strNewCommand in your code. That is simply a variable name that RichardA is using and is entirely arbitrary. Perhaps you could post your code and we could try to figure out why it isn't working?
-
How's this:
(\p{L}(\-\p{L})?)+\.(\p{L}(\-\p{L})?)+@((hotmail|live)\.co\.uk|hotmail\.com)
This one requires a first and last name separated by a period, where the first and last name can optionally contain hyphens, but not two hyphens in a row, and no hyphen at the beginning or end of a name.
-
This expression should do the trick:
(\p{L}+([_\-\.]|\d)*)+@((hotmail|live)\.co\.uk|hotmail\.com)
-
If both Application form and Recruiting form are based on their own schemas, then simply trying to open a form from one template in the other template will not work. If it wouldn't be too much work, the best approach would probably be to reconstruct Recruiting form using the schema from Application form.
-
I think there might be a way to get those numbers right without using code. I am experimenting on the form you attached in the 4th post of this thread.
Open up the Dropdown box's properties, click the button next to Entries: and select the AcuteCare node.
For Value, click the button and select ...
-
Where is the Access database you are using located? Other users of your form should be able to use the form with no problem if they are able to connect to the database.
-
thisXDocument does not exist in the IP 2007 object model. It is characteristic of IP 2003.
I don't believe there is a way to replace the entire DOM of a data source the way you seem to be trying to do. What you need to do is create an XPathNavigator for the data source with DataConnections["data source name goes ...
-
You can add a row to a repeating table with the following single line of code:
XDocument.View.ExecuteAction("xCollection::insert", "group2_1")
just replace group2_1 with the XMLToEdit value found on the Advanced tab of the repeating table's properties.
-
Have you tried choosing is blank from the dropdown box?
-
Your first line is counting the number of nodes named "Row" preceding eventObj.source, but from the third line, it looks like the repeating node is called "d:q_inflow_entry", not "Row". That's probably why count is always 1.
In the third line, you have the literal characters c-o-u-n-t in your XPath string ...