展开全部
Private Sub 按钮_Click()
dim db as database
dim rst as recordset
dim sql as string
set db = currentdb
sql = "select * from 表"
set rst = db.openrecordset(sql)
if rst.eof and rst.bof then exit sub
rst.movefirst
line:if rst.eof then exit sub
rst.movenext
goto line
end sub
dim db as database
dim rst as recordset
dim sql as string
set db = currentdb
sql = "select * from 表"
set rst = db.openrecordset(sql)
if rst.eof and rst.bof then exit sub
rst.movefirst
line:if rst.eof then exit sub
rst.movenext
goto line
end sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询