问题1
在VFP9下:
SELECT xm,tot1 FROM bmk0651 WHERE INLIST(xm,'叶镔','景淼钦','陈晶佳') ;
UNION select '合计',SUM(tot1) FROM bmk0651 WHERE INLIST(xm,'叶镔','景淼钦','陈晶佳')
改为
SELECT xm,tot1 FROM bmk0651 WHERE INLIST(xm,'叶镔','景淼钦','陈晶佳') into cursor temp readwrite
insert into temp select '合计',SUM(tot1) FROM bmk0651 WHERE INLIST(xm,'叶镔','景淼钦','陈晶佳')
[
本帖最后由 sdta 于 2015-3-25 12:04 编辑 ]