SELE ('sfsjdata')
SET ORDER TO sfcbq
count to recnoall FOR sfcbq=YYsfcbq
thisform.text3.value=recnoall
GO TOP
IF !EOF()
thisform.text2.value=RECN()
ENDI
thisform.mygrid1.refresh
thisform.mygrid1.setfocus()
这是代码,如何优化,调试发现 count to recnoall FOR sfcbq=YYsfcbq 执行很长时间