PB计算型域的取值的详细介绍
PB计算型域的取值
数据窗口中computedfield字段在脚本中怎么取值,只是单一合计值.
如果是分组数据窗口又怎么取值?
---------------------------------------------------------------
分组取值
longrow=1
realsumje
IFdw_1.RowCount()=0THENrow=0
DOWHILErow>0
sumje=dw_1.Object.je[row]
row=dw_1.FindGroupChange(row+1,1)
LOOP
---------------------------------------------------------------
单一合计取值
stringc_express
stringc_var
c_express=dw_1.describe("je.expression")
c_var=dw_1.describe("Evaluate('"+c_express+"',2)")
函数说明自己查帮助
---------------------------------------------------------------
如何取DW中Summary的值
ifdw_1.RowCount()>0then
em_1.text=string(dw_1.Object.hjhs[1])
else
em_1.text='0'
endif
本文地址:
http://www.45fan.com/a/question/72226.html