你是用的ReportBuilder吧,我现在也在用!
你就的ppLabel1不会找不到啊?!不会是头文件没有吧?
这是我在DBppLabel1的OnPrint里的一段程序:
procedure TForm1.ppDBText1Print(Sender: TObject);
var
sname:String;
begin
sname:=tblCustomer.fieldbyname('company').AsString;
if(length(sname)>0)then ppLabel1.Caption:='ok';
end;
不知你下载ReportBuilder的帮助文档没有,写得很全的
你就的ppLabel1不会找不到啊?!不会是头文件没有吧?
这是我在DBppLabel1的OnPrint里的一段程序:
procedure TForm1.ppDBText1Print(Sender: TObject);
var
sname:String;
begin
sname:=tblCustomer.fieldbyname('company').AsString;
if(length(sname)>0)then ppLabel1.Caption:='ok';
end;
不知你下载ReportBuilder的帮助文档没有,写得很全的
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货