Multiple Selections from secondary data source - InfoPath Dev
in

InfoPath Dev

Multiple Selections from secondary data source

Last post 09-25-2006 12:55 PM by Matt Faus. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-13-2006 08:02 AM

    Multiple Selections from secondary data source

    Hi there,
    I have a repeating table where the user can select an item from a listbox. The listbox values are populated by a secondary datasource and filtered based on the location selected by the user.
    Is there a way to allow for multiple selections? I need to submit the selected items back to SQLServer when the user submits the form...
    I have tried to use a custom control (Smart Combo Box) but it doesn't allow for the filtering that I need...
    Laura
  • 03-14-2006 11:45 PM In reply to

    Re: Multiple Selections from secondary data source

    You would have to copy your listbox values from the secondary data source into your main DOM in a repeating list, and have another field which would be your boolean value for the check box. By checking off check boxes next to items you could select multiple items. This will involve some coding.

    Hope this helps.
    Stephanie Cantwell / Test Manager
    Qdabra® Software / Streamline data gathering to turn process into knowledge

  • 09-24-2006 01:22 AM In reply to

    Re: Multiple Selections from secondary data source

    What kind of coding is required to copy data from secondary data source to main DOM? Can we use Java script or do we have to write managed code?

    I am unable to access main DOM from javascript? Do you have any code snippet for the same?

    Thanks...
    Arvind
  • 09-25-2006 12:55 PM In reply to

    Re: Multiple Selections from secondary data source

    Hello Arvind,

    Please check out this tutorial, I think it will help you solve your problems:http://blogs.msdn.com/infopath/archive/2004/04/01/106039.aspx

    There have been several HowTos like this around the 'Net as this is a common scenario.
    Matt Faus / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.