Sorry, I think with your column names and assuming you are passing integers, it would be:
Dim ctlSource As Control
Dim intCurrentRow As Integer
Dim sLink As String
Dim bCheck As Boolean
sLink = ""
bCheck = False
Set ctlSource = Me.lstSearch
For intCurrentRow = 0 To ctlSource.ListCount - 1
If ctlSource.Selected(intCurrentRow) Then
If bCheck = False Then
sLink = "[RevNum] = " & ctlSource.Column(0, intCurrentRow)
bCheck = True
Else
sLink = sLink & " AND [RevNum] = " & ctlSource.Column(0, intCurrentRow)
End If
End If
Next intCurrentRow
DoCmd.OpenReport "rptMyReport", , , sLink
If this is not pulling a report based on a query, which it should, then there are other options to display the results. What are you doing with the results? Displaying them as a report, or giving those results to the user to do more data entry? In the latter case, then you could give them a form instead of the report using the same basic DoCmd... etc.
Did that help?
mmcdonal
Look it up at:
http://wrox.books24x7.com