N
Nancy
I have a text field with control source =report.sOpenArgs in my report header
to display items selected in the list box lbdefendant, The code below returns
the value stored rather than the text, how do I get the text?
Dim sOpenArgs as String
Dim stDocName as String
stDocName = "rptMasterDepositions"
For Each varItem In Me.lbDefendant.ItemsSelected
sOpenArgs = sOpenArgs & ",' " & Me.lbDefendant.ItemData(varItem) &
"'"
Next varItem
DoCmd.OpenReport stDocName, acViewPreview, ,,, , sOpenArgs
I have a text field with control source =report.sOpenArgs in my report
header to display items selected in the list box lbdefendant, The code below
returns the value stored rather than the text, how do I get the text?
to display items selected in the list box lbdefendant, The code below returns
the value stored rather than the text, how do I get the text?
Dim sOpenArgs as String
Dim stDocName as String
stDocName = "rptMasterDepositions"
For Each varItem In Me.lbDefendant.ItemsSelected
sOpenArgs = sOpenArgs & ",' " & Me.lbDefendant.ItemData(varItem) &
"'"
Next varItem
DoCmd.OpenReport stDocName, acViewPreview, ,,, , sOpenArgs
I have a text field with control source =report.sOpenArgs in my report
header to display items selected in the list box lbdefendant, The code below
returns the value stored rather than the text, how do I get the text?