FastReport中国社区FastReport联系电话 联系电话:023-68661681

如何以编程方式填写数据字典(变量列表)?

来源:   发布时间:2016-08-08   浏览:3224次

问题描述:如何以编程方式填写数据字典?

解决方法:数据字典中的所有变量和分类都被储存在TfrReport.Dictionary.Variables中。

with frReport1.Dictionary do
begin
// creating category (space in category name required!)
Variables[' New category'] := '';
// creating variables
Variables['New Variable'] := 'CustomerData.Customers."CustNo"';
Variables['Another Variable'] := 'Page#';
end;    

本站文章除注明转载外,均为本站原创或翻译
欢迎任何形式的转载,但请务必注明出处,尊重他人劳动成果
转载请注明:文章转载自:FastReport控件中文网 [https://www.fastreportcn.com/]
本文地址:https://www.fastreportcn.com/post/1116.html

联系我们
  • 重庆总部 023-68661681
购买
  • sales@evget.com
合作
  • business@evget.com


在线
客服
微信
QQ 电话
023-68661681
返回
顶部