The simplest would likely be to use the .Filter property of the report at the time you open the report. Here is an example using two unbound controls as user input for a date range.
Code:
If IsNull(Me.TextBoxName1) Or _
IsNull(Me.TextBoxName2) Then
MsgBox "Please enter Criteria"
Exit Sub
End If
Dim strWhere As String
strWhere = "[MyDateField] BETWEEN #" & Me.TextBoxName1 & "# AND #" & Me.TextBoxName2 & "#"
DoCmd.OpenReport "ReportName", acViewPreview, , strWhere
If you are using numbers and going after your primary key the syntax would be a little different. You would not use the date qualifiers (#).
Code:
strWhere = "[MyPKField] BETWEEN " & Me.TextBoxName1 & " AND " & Me.TextBoxName2