采用 DAO 完成对"教学管理.mdb"文件中"学生表"的学生年龄都加 1 的操作,程序空白处应填写的语句是
Sub SetAgePlus()
Dim ws As DAO.Workspace
Dim db As DAO.Database
Dim rs As DAO.Recordset
Dim fd As DAO.Field
Set db = CurrentDb()
Set rs = db.OpenRecordset("学生表")
Set fd = rs.Fields("年龄")
Do While Not rs.EOF
___________
fd = fd + 1
rs.Update
rs.MoveNext
Loop
rs.Close
db.Close
Set rs = Nothing
Set db = Nothing
End Sub