CodePudding user response:
Play, leakage, A field in A total of L and T two values for the user to choose fromCodePudding user response:
String ls_resultnameLs_resultname=dw_2. GetitemString (an_row, 'resultname)
Choose a case ls_resultname
Case 'ABO blood group'
Dw_2. Modify (" resultstring. DDLB. Case='any' ")
Dw_2. Object. Resultstring. Values="- type tA/type B ~ tB/O ~ the tO/AB ~ type tAB/written ~ t written"
Dw_2. Modify (" resultstring. DDLB. Allowedit='no' ")
Case 'Rh (D) blood type'
Dw_2. Modify (" resultstring. DDLB. Case='any' ")
Dw_2. Object. Resultstring. Values="positive negative/positive/negative ~ ~ t t written ~ t written"
Dw_2. Modify (" resultstring. DDLB. Allowedit='no' ")
Case of hepatitis b surface antigen (HBsAg), hepatitis c antibody (Anti - HCV), 'HIV antibody (Anti - HIV)', 'syphilis antibody (TPPA/TPHA)
Dw_2. Modify (" resultstring. DDLB. Case='any' ")
Dw_2. Object. Resultstring. Values="positive positive/negative ~ ~ t t negative"
Dw_2. Modify (" resultstring. DDLB. Allowedit='no' ")
In case the else
Dw_2. Modify (" resultstring. DDLB. Case='any' ")
Dw_2. Object. Resultstring. Values="~ t/t"
Dw_2. Modify (" resultstring. DDLB. Allowedit='yes' ")
The end choose
Return 0
CodePudding user response:
According to the value of the field dynamic switch B field DDDW and related attributeSuch as
Dw_1. Modify (" # 1. DDDW. Name='dddw_jg' ")
Dw_1. Modify (" # 1. DDDW. DisplayColumn='name_jg' ")
Dw_1. Modify (" # 1. DDDW. DataColumn='id_jg' ")