柠檬试题库
search
首页
计算机
公务员
驾照
关于
工龄
子过程Plus完成对当前库中"教师表"的工龄字段都加1的操作。 Sub Plus( ) 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 rs.Edit 【 】 rs.Update rs.MoveNext Loop rs.Close db.Close Set rs = Nothing Set db = Nothing End Sub 程序空白处应该填写的语句是
子过程Plus完成对当前库中"教师表"的工龄字段都加1的操作。 Sub Plus( ) Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim fd As ADODB.Field Dim strConnect As String Dim strSQL As String Set cn=CurrentProject.Connection strSQL = "Select 工龄 from 教师表" rs.Open strSQL, cn, adOpenDynamic, adLockOptimistic, adCmdText Set fd = rs.Fields("工龄") Do While Not rs.EOF 【 】 rs.Update rs.MoveNext Loop rs.Close cn.Close Set rs = Nothing Set cn = Nothing End Sub 程序空白处【 】应该填写的语句是
随机标签
00001000
员工
规范化
邮箱
oslocknesting