You searched for the word(s): 12
-
I haven't tried accessing the DOM with VB.NET but with C# you need to cast to IXMLDOMDocument3. Version 3 has the setProperty property. See this discussion for help and code in C#.
http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=88
-
quote:After further testing...
When statement looks like this
thisXDocument.GetDOM(''SelectEmployeesWithHardwareSoftwareRequest'').selectSingleNode(''EmployeeID'')
I get ''nothing''
You will always get nothing if you don't include the namespace in the query...
You might get further with something more ...
-
I have a drop down list that shows company names and the values are the company ids. I get this data from a web service (DataSet). How do I get access to the display name to store it in the main data source?
The companyID will store the value. I would like to populate the companyName via a rule when the selection changes.
<root>
...
-
I misunderstood the Infopath online help. I thought that the data (values) would be duplicated. But it turns out that only the node definition is duplicated.
Thanks for the help.
-
Greg, thanx, as ever, for that.
Now I'm really confused. What you've suggested does appear to work, even though you said it wouldn't! I need to understand what's going on, first off.
Is it possible you slightly misunderstood my situation? You say:
quote:but I think you'll find that worse because then the new row won't appear at all because it ...
-
Hey Greg,
I just tried what you requested and received the following error...
Run-time exception thrown : System.Runtime.InteropServices.COMException - Reference to undeclared namespace prefix: 'dfs'.
This is my statement
Dim myUserNode As IXMLDOMNode = ...
-
The most important thing here is that you are not accessing your secondary data source. In both cases you are accessing the main data source.
To access the secondary data source you have to use:
thisXDocument.GetDOM(''MyDataSourceName'').selectSingleNode(''...'');
Greg Collins [InfoPath MVP]
-
Sorry to tell you this, I know it's dumb, but this is the expected behavior.
You can fix the manifest.xsf file so that the filtering happens automatically (i.e. you don't have to use ''refresh filter'') -- but I think you'll find that worse because then the new row won't appear at all because it will be automatically filtered out!!
For more ...
-
I have 3 repeating tables bound to the same table.
The table has 2 columns; ColumnA contains a ''filter'' value (3 possibilities), ColumnB contains the ''data'' value.
Each of the IP repeating tables has a ''Filter data'' expression which looks at the ''filter'' value from ColumnA. So each repeating table shows just those rows appropriate to ...
-
Two quick observations, both probably irrelevant :) :
1. You have set the SelectionNamespace for the secondary, haven't you? (Otherwise, I think you would actually get an error)
2. Which record/row in ns1:Table1 do you think this is pulling from? It'll be whatever the first one happens to be, I think.
Also, just generally for this sort of ...