sele sum(iif(商品类型="花",1,0)) a from aa into curs s thisform.text1.controlsource="s.a"
SELECT COUNT(*) AS HUA FROM 商品资料 WHERE [花]$商品类型 THISFORM.TEXT1.VALUE=HUA