输入如下过程代码:
set talk off
set filter to
calculate avg(成绩) to c1
calculate avg(成绩) for 性别="男" to c2
calculate avg(成绩) for 性别="女" to c3
calculate avg(成绩) for 班级简称="02会计" to c4
calculate avg(成绩) for 班级简称="02工商" to c5
calculate avg(成绩) for 班级简称="02国贸" to c6
thisform.pageframe1.page1.text1.value=c1
thisform.pageframe1.page1.text2.value=c2
thisform.pageframe1.page1.text3.value=c3
thisform.pageframe1.page1.text4.value=c4
thisform.pageframe1.page1.text5.value=c5
thisform.pageframe1.page1.text6.value=c6
这个代码检查了几次, 运行后程序错误 提示非数值表达式。
及其page1 和page2 任意切换内容一样,加label 或text 有问题
下方2个录制错误视频,请查阅
请看到的大神们告知原因.
set talk off
set filter to
calculate avg(成绩) to c1
calculate avg(成绩) for 性别="男" to c2
calculate avg(成绩) for 性别="女" to c3
calculate avg(成绩) for 班级简称="02会计" to c4
calculate avg(成绩) for 班级简称="02工商" to c5
calculate avg(成绩) for 班级简称="02国贸" to c6
thisform.pageframe1.page1.text1.value=c1
thisform.pageframe1.page1.text2.value=c2
thisform.pageframe1.page1.text3.value=c3
thisform.pageframe1.page1.text4.value=c4
thisform.pageframe1.page1.text5.value=c5
thisform.pageframe1.page1.text6.value=c6
这个代码检查了几次, 运行后程序错误 提示非数值表达式。
及其page1 和page2 任意切换内容一样,加label 或text 有问题
下方2个录制错误视频,请查阅
问题1.zip
(2.06 MB)
问题2.zip
(2.96 MB)
请看到的大神们告知原因.