怎么判断ACCESS数据库某个表某个字段中已经存在某个值

如何判断ACCESS数据库某个表某个字段中已经存在某个值
我想把数据加到表里,加之前先判断某个值存在与否,存在的话就用更新,不存在的话就直接添加。怎么判断那

------解决方案--------------------
sql= "select count(*) as nums from 表 where 字段= '## ' "

if oledatar.read() then
if oledatar( "nums ").ToString()= "0 " then
'表示可以添加
else
'更新
end if
end if