点击某个值获取crosstab的列名和字段的值


if row=0 then return

this.modify("datawindow.crosstab.staticmode=yes")
string ls_name,is_jianc,ls_text,ls_value
ls_name=dwo.name
if isnumber(right(ls_name,1)) then
 is_jianc=this.describe('sale_ra'+'_t_'+right(ls_name,1)+'.text')
else
 is_jianc=this.describe(ls_name+'_t.text')
end if

if is_jianc='!' then return

ls_value=this.object.outlet_id[row]
messagebox(ls_value,is_jianc)
this.modify("datawindow.crosstab.staticmode=no")

posted @ 2010-04-10 10:14  kuailewangzi1212  阅读(313)  评论(0编辑  收藏  举报