T
thefirstdz
Unregistered / Unconfirmed
GUEST, unregistred user!
我想求一个表的某个字段的和后放入别一个表中,怎么实现呀?
可以这样子吗??
query1.sql.text:='select sum(A) as a into (select * form 统计表 where 月份:yf) from 明细表';
query1.params.ParambyName('yf').value:=ComboBox2.text;
query1.open;
可以这样子吗??
query1.sql.text:='select sum(A) as a into (select * form 统计表 where 月份:yf) from 明细表';
query1.params.ParambyName('yf').value:=ComboBox2.text;
query1.open;