Code:
Private Sub Form_LOad()
If Len(Form_002_Criteria.TxtExample & vbNullString) > 0 Then
Me.Filter = "ExpMin <= " & Form_002_Criteria.TxtExample & " AND ExpMax >= " & Form_002_Criteria.TxtExample
debug.print me.filter
Me.FilterOn = True
Else
Me.Filter = ""
Me.FilterOn = False
End If
End Sub
The debug.print will show you what the query contains.
In the query for the list box, I added ExpMin and ExpMax fields unchecked with criteria stating Forms![002_Criteria]!TxtExp to filter the data needs to be shown base on Min and Max values.
Where is this list box? How does it tie in with your problem?