问题描述
- PB中怎么判断数据窗口导入excel的数据中有申请号是重复的,我这么写表达式老是错误,请大神指教
-
for i=2 to ll_rows
li_count =dw_list .insertrow(0)
dw_list.setrow(li_count)
//申请号5
dw_list.object.申请号[li_count] = ExcelServer.ActiveSheet.Cells[i,5].textnext
ll_found = dw_list.Find("dw_list.object.申请号[li_count]='"+dw_list.object.申请号[li_count+1]+"' ",1, dw_list.RowCount())
ll_found = dw_list.Find("sq=sq2",1, dw_list.RowCount())
if ll_found>0 then
messagebox("提示","有重复申请号["+sq+"]请在表格中修改后在导入!")end if
时间: 2025-01-01 15:34:52