当前位置: 代码迷 >> PB >> dw中的字段用DropDownListBox,怎样动态向DropDownListBox添加选项呢?解决方法
  详细解决方案

dw中的字段用DropDownListBox,怎样动态向DropDownListBox添加选项呢?解决方法

热度:47   发布时间:2016-04-29 09:57:21.0
dw中的字段用DropDownListBox,怎样动态向DropDownListBox添加选项呢?
如题

------解决方案--------------------
手册上的
Syntax
Dot notation:

dw_control.Object.columnname.Values

Describe and Modify argument:

"columnname.Values { = ' string ' } "

setting = dw_1.Object.emp_status.Values

dw_1.Object.emp_status.Values = &

"Active~tA/Part Time~tP/Terminated~tT "

setting = dw_1.Describe( "emp_status.Values ")

dw_1.Modify( "emp_status.Values= " &

+ " 'Active~tA/Part Time~tP/Terminated~tT ' ")
  相关解决方案