I've edited the code, but it doesn't bring back anything when I enter a value I know is contained in one of the records fields:
Code:
If Not IsNull(Me.Text21.Value) Then
stDocName = "rptReport"
DoCmd.OpenReport stDocName, acPreview, , Chr(34) & Me.Text21 & Chr(34) & "In...