L liuwenbo Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-04 #1 我用FastReport做报表,在表单中Edit1的Text要在报表中打印,要怎么样弄啊, 请各位指教,谢谢!
J jianguobu Unregistered / Unconfirmed GUEST, unregistred user! 2004-04-04 #3 procedure TForm1.frReport1GetValue(const ParName: String; var ParValue: Variant); begin inherited; if parname='Code' then parvalue:= edit1.text; end; 你设计时,再在你的报表里指定memo1的变量为:code 即: 代码:
procedure TForm1.frReport1GetValue(const ParName: String; var ParValue: Variant); begin inherited; if parname='Code' then parvalue:= edit1.text; end; 你设计时,再在你的报表里指定memo1的变量为:code 即: 代码: