Use our Google Custom Search for best site search results.
Search
-
After rereading Greg's answer above, I noticed the word ''filter''. So What I ended up doing is I selected the CompanyName field from the secondary source. I selected the Filter button. Here I selected CompanyID field from the secondary source. I selected ''is equal to'' from the drop down list. I selected companyID from the main ...
-
It seems that I have created the Rule incorrectly. Problem is I don't know how to create the XPath correctly to get the Display Name associated with the value. Here is how I created the Rule.
I created a test InfoPath doc with 2 fields (field1 and field2). field1 is a drop down and field 2 is a text box. field1 gets it's data from the ...
-
Thanks Greg. I keep forgetting about the secondary data source.
I created a rule that will populate the @CompanyName field when the user selects the name from the drop down list. It works the first time. But on subsequent selections it doesn't update the @CompanyName field. I tried to set a condition on the rule but that didn't work.
What am ...
-
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
-
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.
-
oh sorry, guess I was not quite clear. The name attribute is unique.
Example:
<root>
<field1 name=''John''>
<field2 name=''Mike'' />
</field1>
</root>
When I try to add another attribute field called name, Infopath displays an error ''A field or group with that name already exists.''
As I understand ...
-
I want to be able to add a node or an attribute via the right click Add option in the data source task bar that has the same name as an existing node or attribute. Infopath keeps giving me an error.
Example:
<root>
<field1 name=''''>
<field2 name='''' />
</field1>
</root>
Add attribute ''name'' to ...
-
Never mind again. Figured it out. After oh 4 hours of researching.
It turns out that I should have been using IXMLDOMDocument3. No documentation that I've read so far says I should use the new interface.
Anyway doing the following will work:
[InfoPathEventHandler(MatchPath=''/my:myFields/my:field1'', ...
-
A user selects the the customer id from the drop down list box. I take the ID and want to pass it to a web service method programmatically. I tried to store the ID in the data source's XML as a text value but I keep getting an error:''Reference to undeclared namespace prefix: 'dfs'''.
Here is the code that I have so ...