pfc主从数据窗口问题
xjbs 2002-03-13 11:29:49 有A,B两数据窗口,为同一表的数据,
A采用GRID方式显示,B采用TABLE方式用于修改,,
采用PFC的主从方式进行了链接,
为什么不能同步GUN动?
对B进行修改后,A也没有变化,,,
在A窗口的结构化事件成写:
this.of_setrowselect(true)
this.of_setquerymode(true)
this.of_setrowmanager(false)
this.of_setlinkage(true)
dw_2.of_setlinkage(true)
this.inv_linkage.of_settransobject(sqlca);
dw_2.inv_linkage.of_setmaster(dw_1)
dw_2.inv_linkage.of_register("qybh","qybh")
dw_2.inv_linkage.of_setstyle(dw_1.inv_linkage.retrieve)
dw_2.inv_linkage.of_setupdateonrowchange(true)
dw_2.inv_linkage.of_setconfirmonrowchange(true)
this.of_retrieve()