Home Cart [Log In] About Us Contact Us

Object Reference

xf_ControlsControl Related

Public Function ListboxColumnValsToDelimList (
objListbox As ListBox,
Optional ValueColumnIndex As Integer = -1,
Optional QuoteValues As xf_QuoteTypeEnum = None,
Optional Delimiter As String = ","
) As String

Return the values from all rows of the listbox as a delimited string.
The default used is the bound column value, but the column index can be specified if a different value is desired.


The delimiter to use

objListbox as ListBox

The list box

Optional ValueColumnIndex as Integer = -1

The column index to take the values from, defaults to the bound column

Optional QuoteValues as xf_QuoteTypeEnum = None

The quote type: None, SingleQuote, DoubleQuote

Optional Delimiter as String = ","

(no description)

Call Template:

Dim s As String
s = xf.Controls.ListboxColumnValsToDelimList(delimiter, objListbox)
s = xf.Controls.ListboxColumnValsToDelimList(delimiter, objListbox, ValueColumnIndex, QuoteValues, Delimiter)

See Also:

Example 1:

ListboxSelectionsToDelimList (lstSample, , SingleQuote)   => '1','2','3','4','5','6','7','8','9','10'
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd