Mid(Trim({Cust #}), 1, 2) <> "TD"

Trim() to remove leading blanks.
Mid() to return part of the text. The latter two parameters are position (starting at 1) and length.
_________________________
Bob Wisener
Dakota Software