SELECT mytable SCAN FOR i=1 TO FCOUNT() IF TYPE(FILED(i)) = "C" IF lcSearchDFor $ EVAL(lcUserName) * Found, do something ENDIF ENDIF ENDFOR ENDSCAN