W_MASTER中的函数函数定义如下:////////////////////////////////////////////////////////////////////////////////////////parameters: //adw_input:the dw that have column's editstyle is dddw and need to share data//as_column:the column name that its editstyle is dddw and need to share data//ai_flag: if its value is 0 ,means its will search the same dataobject in ids_dddw[] ,//if it exist, then neednot create a new n_ds,else create a new n_ds,//if its value is not 0 ,means need create a new n_ds// ab_retrieveflag : true means execute retrieve,false true means dot execute retrieve// n--the order of the ids_dddw[],// 0--the parameters is not valid//-1--share data is not ess//////////////////////////////////////////////////////////////////////////////////////if not isvalid(adw_input) then return 0if isnull(as_column) then return 0if isnull(ai_flag) then return 0if isnull(ab_retrieveflag) then return 0if trim(lower((as_column+"."))) <> "dddw" then return 0//datawindowchild ldwc_objstring ls_dataobjectinteger li_upper,li_i,li_rc//if (as_column, ldwc_obj)<> 1 Then return 0ls_dataobject = trim((as_column+"."))if isnull(ls_dataobject) or ls_dataobject="" then return 0li_upper=upperbound(ids_dddw)//if ai_flag=0 thenfor li_i = 1 to li_upperif ids_dddw[li_i].dataobject=ls_dataobject (SQLCA)li_rc=ids_dddw[
PFC基类扩展 来自淘豆网www.taodocs.com转载请标明出处.