判断数据窗口datawindow哪行哪列被修改过


dwitemstatus dis
long i,j,col_count
col_count = long(dw_1.object.datawindow.column.count)

for i=1 to dw_1.rowcount( )
for j=1 to col_count
dis=dw_1.getitemstatus( i, j,primary!)
if dis=datamodified! then
messagebox(string(i)+','+string(j),'mod')
end if
next
next
展开阅读全文

没有更多推荐了,返回首页