請問一下:
使用DAO 的index去找資料
如果相符的資料有很多筆...怎麼去讀出下一筆呢??
ex:
如果資料庫中有筆以上 Card ID ="J000000000"
dbrec.index ="Card ID"
dbrec.seek "=" , "J000000000"
if not dbrec.nomatch then
debug.print dbrec.fields("MemberID").value
end if
則我怎麼讀出下一筆資料呢??
使用DAO 的index去找資料
如果相符的資料有很多筆...怎麼去讀出下一筆呢??
ex:
如果資料庫中有筆以上 Card ID ="J000000000"
dbrec.index ="Card ID"
dbrec.seek "=" , "J000000000"
if not dbrec.nomatch then
debug.print dbrec.fields("MemberID").value
end if
則我怎麼讀出下一筆資料呢??
請先 登入 以發表留言。