我简单的做了一个分班系统,每次运行都提示程序错误,“已到文件尾”,怎么改?
我简单的做了一个分班系统,每次运行都提示程序错误,“已到文件尾”,怎么改?SELECT fb
a=messagebox("真的要分班吗?",4+32+256,"系统提示")
IF a=6
set filter to xz=alltrim() and zymc=ALLTRIM()
locate for xz=alltrim() and zymc=ALLTRIM()
GO top
do while not eof()
for n=1 to 10
replace bj with ALLTRIM()+ALLTRIM(STR(n))
SKIP
endfor
for m=10 to 1 step -1
replace bj with ALLTRIM()+ALLTRIM(STR(m))
SKIP
endfor
ENDDO
MESSAGEBOX("分班已完成!",64,"系统信息")
thisform.Release
ELSE
thisform.release
ENDIF