求帮助
if dwo.name = 'bm' then
datawindowchild ldwc_child
this.getchild('lh', ldwc_child)
ldwc_child.setfilter("bm='" + data + "'")
ldwc_child.filter()
end if
DataWindowChild state_child
integer rtncode
rtncode = dw_1.GetChild(' lh_lh', state_child)
IF rtncode = 1 THEN MessageBox("Error", "Not a DataWindowChild")
// Establish the connection if not already connected
CONNECT USING SQLCA;
// Set the transaction object for the child
state_child.SetTransObject(SQLCA)
// Populate the child with values for eastern states
state_child.Retrieve()
// Set transaction object for main DW and retrieve
dw_1.SetTransObject(SQLCA)
dw_1.Retrieve()
怎么把这两条语句揉成一段语句, 实现在dataWindow中定义了其中某些字段的edit属性为DropDownDW,在运行程序时,DropDownDW的值已经改变,但下拉时还是原来的数据,怎样实现更新谢谢各位!