A
aaere
Unregistered / Unconfirmed
GUEST, unregistred user!
begin
aa:='';
bb:=0;
主项数据1.first;
while not(主项数据1.eof)do
begin
if [trim([datamodule1.adoq_invoicem1."发票号"])]<>[aa] then
bb:=[bb]+[datamodule1.adoq_invoicem1."欠汇"];
aa:=[trim([datamodule1.adoq_invoicem1."发票号"])];
主项数据1.next;
end;
memo26.memo:=[bb];
end
在fastreport报表中这样设置memo的值错在哪里?
aa:='';
bb:=0;
主项数据1.first;
while not(主项数据1.eof)do
begin
if [trim([datamodule1.adoq_invoicem1."发票号"])]<>[aa] then
bb:=[bb]+[datamodule1.adoq_invoicem1."欠汇"];
aa:=[trim([datamodule1.adoq_invoicem1."发票号"])];
主项数据1.next;
end;
memo26.memo:=[bb];
end
在fastreport报表中这样设置memo的值错在哪里?