如何在BIRT里创建SCRIPT data source????
求教 --------------------编程问答-------------------- 百灵报表(Birt)之创建Scripted Data SourceStep 1: 选择Data Sources,右键点击,选择New Data Source
Step 2: 选择 Scripted Data Source
Step 3: 点击Finish
Step 4: 选择Data Sets,右键点击,选择New Data Set
Data Set Name: Data Set
Data Set Type: Scripted Data Set
Data Source: Data Source
Step 5: 定义所用列的属性
Name: Index
Type: Integer
Alias:
Display Name:
Step 6: 点击Finish
Step 7: 选择Data Set -> Script
Step 8: 选择open,输入
count = 10;
Step 9: 选择fetch,输入
if ( count == 0 )
{
return false;
}
else
{
row["Index"] = count;
--count;
return true;
}
Step 10: 编辑Data Set
Step 11: 点击 Preview Results预览结果
百灵报表问题解答请浏览http://www.actuatechina.com/index.php
--------------------编程问答-------------------- 受教 --------------------编程问答-------------------- 好东西是好东西啊,
还是不会用啊
欢迎一起讨论 --------------------编程问答-------------------- 谢谢这哥们,我一试便通 --------------------编程问答-------------------- --------------------编程问答-------------------- zAg1JU2TJ4eOHXVz1eIWQOvt5c
顶啊顶啊
UhOWsY3bRMcAyKuyaqhsSFg3xY
WE1djcQOGeTr4M1rsiXiVhjgjM
顶起来!
补充:企业软件 , 中间件