so if I put this in the condition of a macro [ID] = IIf(IsNumeric([forms]![SearchF]![txt1]),[forms]![SearchF]![txt1],Null) OR [CustName] Like "*" & [forms]![SearchF]![txt1] & "*"
it should search for id or text correct?
Also I noticed that my macro condition field is not long enough for much...