再次请教一个问题,请高手进!!!
clearset clear on
set talk off
set safety off
thisform.refresh
check_pathdir = thisform.pageframe1.page3.txtAppImage.value
if not file(check_pathdir)
messagebox( '请选择数据库', 0+48+0, "信息提示")
ELSE
use &check_pathdir
m1=0
m2=0
m3=0
m4=0
m5=0
m6=0
m7=0
m8=0
m9=0
m10=0
count to m1
sum all 奖金,加工天数,可靠性奖,运行指标,安全基金,效益奖,值日值宿,其他奖项 to m2,m3,m4,m5,m6,m7,m8,m9
thisform.pageframe1.page3.text1.Value=m1
thisform.pageframe1.page3.text2.Value=m2
thisform.pageframe1.page3.text3.Value=m3
thisform.pageframe1.page3.text4.Value=m4
thisform.pageframe1.page3.text5.Value=m5
thisform.pageframe1.page3.text6.Value=m6
thisform.pageframe1.page3.text7.Value=m7
thisform.pageframe1.page3.text8.Value=m8
thisform.pageframe1.page3.text9.Value=m9
endif
set safety on
set talk on
set clear off
close all
return
如上代码所示,我想在endif上面加入代码从check_pathdir表中筛选出 出勤天数<>20.92 的所有人并把结果显示到一个grid中。请教代码该如何写呢。
补充:我用select * from check_pathdir where 出勤天数<>20.92 into curs aa 运行不了。。。
请教论坛高手???