for i = 2 to dw_name.rowcount()
if dw_name.object.id[ i ] = dw_name.object.id[ i - 1 ] then
if dw_name.object.start_numner[ i ] < dw_name.object.end_number[ i - 1 ] then
//重叠
end if
end if
next
for i = 1 to this.rowcount()
if this.getitemstrieng(i, "id") >= this.getitemstring(i, "start_number") and this.getitemstrieng(i , "id") <= this.getitemstring(i, "end_number") then
messagebox("", "第" + string(i) + "行范围存在重叠!")
return 1
end if
next