L
ljj
Unregistered / Unconfirmed
GUEST, unregistred user!
close;
sql.clear;
sql.add('select areaid,sum(totalmoney),sum(yfmoney),sum(wfmoney),sum(beer),sum(other) from '+''''+apppath+'db/bond.db'+'''');
sql.add('where bonddate>'''+datetimetostr(dtp1.datetime)+'''');
sql.add('group by areaid');
open;
运行就出现出错,如题
sql.clear;
sql.add('select areaid,sum(totalmoney),sum(yfmoney),sum(wfmoney),sum(beer),sum(other) from '+''''+apppath+'db/bond.db'+'''');
sql.add('where bonddate>'''+datetimetostr(dtp1.datetime)+'''');
sql.add('group by areaid');
open;
运行就出现出错,如题