vfp表格内的某一列求和问题,请求大侠指教,困扰了好久
vfp表格内的某一列求和问题,请求大侠指教,困扰了好久
SELECT SUM(不含税金额) FROM 表名 WHERE 发票id=thisform.text3.Value TO q
thisform.text5.Value=q
[解决办法]
SELECT SUM(不含税金额) as hj into cursor t1 FROM 表名 WHERE 发票id=thisform.text3.Value
thisform.text5.Value=t1.hj