I have this code and it works except for the Address query I think because a address has spaces in it, my statment won't work, but maybe it's somthing else.
Also I would need to search more that just there First Name. I will need to search for First and Last Name ie: Joe Blow and/or a Address ie: 1324 N. Center st
Once I see how the statement is made I think I can build it futher but right now I'm not that familar with SQL
any help would be great

VB Code:
  1. Private Sub cmdSearch_Click()
  2. Dim Address As String
  3. Dim LastName As String
  4.  
  5.     If txtSearchBox = "" Then
  6.         MsgBox "Please input a value"
  7. End If
  8.  
  9.     If Option1 = True Then Address = txtSearchBox
  10.        
  11.         frmCustomers.datPrimaryRS.Recordset.MoveFirst
  12.         frmCustomers.datPrimaryRS.Recordset.Find "Address = '" & [Address] & "'"
  13.  
  14.     If Option2 = True Then FirstName = txtSearchBox
  15.        
  16.         frmCustomers.datPrimaryRS.Recordset.MoveFirst
  17.         frmCustomers.datPrimaryRS.Recordset.Find "FirstName = '" & FirstName & "'"
  18.      
  19. Unload Me
  20. End Sub