|
以人事为例:
count all to allman
count all for 性别="男" to man
count all for 性别="女" to woman
thisform.label1.caption=allt(str(allman))
thisform.label2.caption=allt(str(man))
thisform.label3.caption=allt(str(woman))
将以上代码加入表单的init 事件中便可统计出总人数,和男女的人数
发表于 @ 2007年06月24日 11:16:00|评论(loading...)|编辑
|