Y
yulin
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure Tmain.N9Click(Sender: TObject);
begin
zl_a:='';
zl.ShowModal;
if zl_a<>'' then
begin
dm.Table1.Filtered:=false;
dm.Table1.Filter:='业务经理='''+zl_a+'''';
dm.Table1.Filtered:=true;
end;
while true do
if not dm.Table1.Eof then
begin
qr5.print;
if messagebox(Handle,'继续打印下一页吗?','确定',MB_YESNO)=IDYES then dm.Table1.Next;
end
else
begin
messagebox(Handle,'无数据可继续打印','提示',MB_OK);
break;
end;
end;
end;
语法检查的提示:
'.'expected but ';' found
这是什么东西啊?我刚开始学Delphi实在是查不出哪不对啊?请指点谢谢!
begin
zl_a:='';
zl.ShowModal;
if zl_a<>'' then
begin
dm.Table1.Filtered:=false;
dm.Table1.Filter:='业务经理='''+zl_a+'''';
dm.Table1.Filtered:=true;
end;
while true do
if not dm.Table1.Eof then
begin
qr5.print;
if messagebox(Handle,'继续打印下一页吗?','确定',MB_YESNO)=IDYES then dm.Table1.Next;
end
else
begin
messagebox(Handle,'无数据可继续打印','提示',MB_OK);
break;
end;
end;
end;
语法检查的提示:
'.'expected but ';' found
这是什么东西啊?我刚开始学Delphi实在是查不出哪不对啊?请指点谢谢!