Search - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Search

Page 1 of 2 (12 items) 1 2 Next >
  • Re: Store drop down list display name? - Solved

    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 ...
    Posted to General (Forum) by CodeWzrd on 12-06-2004
  • Re: Store drop down list display name? - Solved

    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 ...
    Posted to General (Forum) by CodeWzrd on 12-02-2004
  • Re: Store drop down list display name? - Solved

    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 ...
    Posted to General (Forum) by CodeWzrd on 11-29-2004
  • Re: Secondary Data Source

    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
    Posted to General (Forum) by CodeWzrd on 11-29-2004
  • Store drop down list display name? - Solved

    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> ...
    Posted to General (Forum) by CodeWzrd on 11-29-2004
  • Re: How to add a field or group with an existing name?

    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.
    Posted to General (Forum) by CodeWzrd on 11-29-2004
  • Re: How to add a field or group with an existing name?

    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 ...
    Posted to General (Forum) by CodeWzrd on 11-19-2004
  • How to add a field or group with an existing name?

    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 ...
    Posted to General (Forum) by CodeWzrd on 11-19-2004
  • Re: Web service with an input param via code - Solved

    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'', ...
    Posted to General (Forum) by CodeWzrd on 11-18-2004
  • Web service with an input param via code - Solved

    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 ...
    Posted to General (Forum) by CodeWzrd on 11-18-2004
Page 1 of 2 (12 items) 1 2 Next >
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.