one unbounded textbox for searching named "txtpartsearch"
two bounded textboxes (1)"PName" ref. to PName (2)"Revision" ref. to Revision" the reference is a table with columns of PNum,PName,and Revision.
My latest command button code is
Code:
Private Sub Command6_Click()
Dim strWhere As String
If Not IsNull(Me.txtpartsearch) Then
strWhere = strWhere & "([PName] = """ & Me.txtpartsearch & """) AND "
End If
If Not IsNull(Me.txtpartsearch) Then
strWhere = strWhere & "([Revision] = """ & Me.txtpartsearch & """) AND "
End If
End Sub
I can't go any further with some help!