No InfoPath 2003 does not provide built-in support for Multi-select list
boxes, you would need setup it manually with a scrolling region, take a look
at the blog post by the InfoPath team for a sample
http://blogs.msdn.com/infopath/archive/2004/04/01/106039.aspx The next
vesion does have built-in support for Multiselect list boxes.
Thanks,
Krishna
> Is it possible to have a list box & make multiple selections?
>
[quoted text clipped - 6 lines]
>
> tia for any and all assistance.
Jeff - 27 Mar 2006 20:37 GMT
Thanks Krishna, That will work.
Jeff
> No InfoPath 2003 does not provide built-in support for Multi-select list
> boxes, you would need setup it manually with a scrolling region, take a look
[quoted text clipped - 15 lines]
> >
> > tia for any and all assistance.
sscarcella - 29 Mar 2006 18:17 GMT
I have read this blog but it doesnt say how to connect the multiple
selections to your data source and have them entered in as new records in the
database when you hit submit. It only works with static lists. I also need
to have this list be a cascading list of a previous dropdown selection.
Any ideas on that... It would have been easier if the list box would just
allow multi selection...
> No InfoPath 2003 does not provide built-in support for Multi-select list
> boxes, you would need setup it manually with a scrolling region, take a look
[quoted text clipped - 15 lines]
> >
> > tia for any and all assistance.
Tom Lum Forest - 13 Apr 2006 18:09 GMT
Here's how I did it:
Dim strategyNodes As IXMLDOMNodeList =
thisXDocument.DataObjects("LocalCommWKSLookups").DOM.selectNodes("//Strategies")
Dim numStrategies As Integer = strategyNodes.length
If numStrategies > 0 Then
For countStrategies As Integer = 0 To numStrategies - 1
If countStrategies <> 0 Then
thisXDocument.View.ExecuteAction("xCollection::insert", "Strategy_773")
Dim strategyNode As IXMLDOMNode =
strategyNodes.Item(countStrategies)
Dim NewStrategyNameNode As IXMLDOMNode = _
thisXDocument.DOM.selectNodes("my:myFields/my:Strategies/my:Strategy/my:StrategyName").Item(countStrategies)
NewStrategyNameNode.text =
strategyNode.selectSingleNode("StrategyName").text
Dim NewStrategyIDNode As IXMLDOMNode = _
thisXDocument.DOM.selectNodes("my:myFields/my:Strategies/my:Strategy/my:StrategyID").Item(countStrategies)
NewStrategyIDNode.text =
strategyNode.selectSingleNode("StrategyID").text
Next
End If
> I have read this blog but it doesnt say how to connect the multiple
> selections to your data source and have them entered in as new records in the
[quoted text clipped - 23 lines]
> > >
> > > tia for any and all assistance.