If someone could please be another set of eyes for me? I can't see the error in my statement below:
 
	
	
	
		
 
When I attempt to tweak and test things with this, i.e. try the following:
 
	
	
	
		
 
I get a Run time error 3075 - missing operator in query expression.
 
 
I can't see the forest for the trees here, so if another pair of eyes could take a look and let me know what I messed up, it would be appreciated. Thank you!
 
		Code:
	
	
	            Dim HoldDate As Date
            Dim HoldCC As String
 
            HoldDate = Forms!frmSecurity!ShiftDate
            HoldCC = Forms!frmSecurity!EMPCC
 
strSQL2 = "SELECT NEmailNotes " & _
                      " WHERE NEmailNotes.ShiftDate =#" & HoldDate & "#" And " NEmailNotes.CC='" & HoldCC & "'"
	When I attempt to tweak and test things with this, i.e. try the following:
		Code:
	
	
	strSQL2 = "SELECT NEmailNotes " & _
                      " WHERE NEmailNotes.CC='" & HoldCC & "'"
	I get a Run time error 3075 - missing operator in query expression.
I can't see the forest for the trees here, so if another pair of eyes could take a look and let me know what I messed up, it would be appreciated. Thank you!
			
				Last edited: