Loading XML node based on menu choice? - InfoPath Dev
in

InfoPath Dev

Loading XML node based on menu choice?

Last post 08-06-2012 06:42 AM by maillme. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 08-03-2012 02:01 AM

    Loading XML node based on menu choice?

    Hio there, XML / InfoPath is all new to me.....but; I have an XML file i created for a secondary data source, something like this: UK Joe Bloggs Great Britain Pound GBP USA James Bond US Dollar USD 2500 I was wanting advice on how to load a specific record in my XML based on a user choice in my form (which is a list also populated from this XML file). So, for example. User selects "USA" as country - then I'd like to display the elec_useage value from this node/record......... I'm not quite sure how to do this......any help (simplified) is greatly appreciated. thank you, Neil
    Brand new to InfoPath. Have version 2007.
  • 08-03-2012 06:25 AM In reply to

    Re: Loading XML node based on menu choice?

    Hi,

    What's you're looking for is called cascading dropdown. Here's one tutorial; there are other tutorials available online - just search for infopath cascading dropdowns on Google if you need more samples.

    Good luck!

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 08-03-2012 06:49 AM In reply to

    Re: Loading XML node based on menu choice?

    Thanks Ernest, I should have mentioned, it is a browser form - is there a solution? Also, its not another drop down I want to populate, but data within my form...... thanks again, Neil
    Brand new to InfoPath. Have version 2007.
  • 08-06-2012 06:05 AM In reply to

    Re: Loading XML node based on menu choice?

    Yes, it is possible. Here are two tutorials I found:

    http://blogs.msdn.com/b/infopath/archive/2006/10/12/cascading-dropdowns-in-browser-forms.aspx

    http://www.infopathdev.com/blogs/david/archive/2007/08/23/implementing-cascading-dropdowns-in-forms-server.aspx

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 08-06-2012 06:42 AM In reply to

    Re: Loading XML node based on menu choice?

    thanks again, Neil
    Brand new to InfoPath. Have version 2007.
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.