W
wangljs
Unregistered / Unconfirmed
GUEST, unregistred user!
我的报表为什么没有数据!必须运行两次才行!
with table5do
//就是LS5
with query2do
begin
close;
sql.clear;
sql.text :='delete from ls5';//先删除这个库,已防库里有东西
query2.ExecSQL;
end;
table5.append;
//在向库里写数据
table5.fieldvalues['rq']:=datetostr(datetimepicker2.date);
table5.Post;
end;
end;
form5.QuickRep1.Preview;
with table5do
//就是LS5
with query2do
begin
close;
sql.clear;
sql.text :='delete from ls5';//先删除这个库,已防库里有东西
query2.ExecSQL;
end;
table5.append;
//在向库里写数据
table5.fieldvalues['rq']:=datetostr(datetimepicker2.date);
table5.Post;
end;
end;
form5.QuickRep1.Preview;