CLEAR ALL USE TASTE CSTR="" SCAN FOR T_YN=1 && 如果T_YN字段为字符型,该行代码改为SCAN FOR ALLTRIM(T_YN)=="1" CSTR=CSTR+ALLTRIM(T_NAME) ENDSCAN ?CSTR