for li_col = integer(object.datawindow.column.count) to 1 step -1
if getitemstring(ai_row/*代表指定的行*/,li_col) = '要查找的数据' then exit
end for
if li_col > 0 then
messagebox('查找结果','在第' + string(li_col) + '列上找到了匹配的数据')
else
messagebox('查找结果','数据未找到')
end if