展开全部
long i,ll_find ,ll_RowCount
string ls_pcode
ll_RowCount = dw_1.RowCount()
for i = ll_RowCount to 1 step -1
ls_pcode = dw_1.object.pcode[i]
ll_find=dw_1.find(" pcode ='"+ls_pcode+"'",1,dw_1.RowCount() - 1)
if ll_find > 0 then
dw_1.DeleteRow(i)
end if
next
string ls_pcode
ll_RowCount = dw_1.RowCount()
for i = ll_RowCount to 1 step -1
ls_pcode = dw_1.object.pcode[i]
ll_find=dw_1.find(" pcode ='"+ls_pcode+"'",1,dw_1.RowCount() - 1)
if ll_find > 0 then
dw_1.DeleteRow(i)
end if
next
追答
long i,ll_find ,ll_RowCount
string ls_pcode
ll_RowCount = dw_1.RowCount()
for i = ll_RowCount to 1 step -1
ls_pcode = dw_1.object.pcode[i]
if dw_1.RowCount() >= 2 then
ll_find=dw_1.find(" pcode ='"+ls_pcode+"'",1,dw_1.RowCount() - 1)
if ll_find > 0 then
dw_1.DeleteRow(i)
end if
end if
next
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询