CLEAR CLOSE DATABASES USE bb SCAN lcStr = ALLTRIM(xm) FOR lnj = 2 TO FCOUNT() IF BETWEEN(EVALUATE(FIELD(lnj)), 1, 2) lcStr = lcStr + ", " + FIELD(lnj) ENDIF ENDFOR ? lcStr ENDSCAN BROWSE
CLEAR CLOSE DATABASES USE C:\Users\Administrator\Desktop\bb\bb IN 0 && 路径自己设置 SCAN lcStr = 'xm' lcXm = ALLTRIM(xm) FOR lnj = 2 TO FCOUNT() IF BETWEEN(EVALUATE(FIELD(lnj)), 1, 2) lcStr = lcStr + ", " + FIELD(lnj) ENDIF ENDFOR BROWSE FIELDS &lcStr FOR ALLTRIM(xm) == lcxm ENDSCAN
[此贴子已经被作者于2021-7-30 08:30编辑过]