填空题 Access 题号 #1796543 在 VBA 中变体类型的类型标识是___________。 收起答案及解析 进入在线模考 参考答案 暂无 答案解析 Variant 你可能感兴趣的试题 1 在窗体中有一个名为 Command1 的命令按钮,Click 事件的代码如下: Private Sub Command1_Click( ) f=0 For n=1 To 10 Step 2 f=f+n Next n Me!Lb1.Caption=f End Sub 单击命令按钮后,标签显示的结果是___________。 查看解析 → 2 在窗体中有一个名为 Command12 的命令按钮,Click 事件的代码如下:该事件所完成的功能是: 接受从键盘输入的 10 个大于 0 的整数,找出其中的最大值和对应的输入位置。请依据上述功能要求将程序补充完整。 Private Sub Command12_Click( ) max=0 max_n=0 For i=1 To 10 num=Val(InputBox("请输入第"& i &"个大于 0 的整数:")) If (num>max)Then max= ___________ max_n= ___________ End If Next i MsgBox("最大值为第"& max_n&"个输入的"& max) End Sub 查看解析 → 3 下列子过程的功能是:将当前数据库文件中“学生表”的学生“年龄”都加 1。请在程序空白的地方填写适当的语句,使程序实现所需的功能。 Private Sub SetAgePlus1_Click( ) 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 fd=___________ rs.Update ___________ Loop rs.Close db.Close Set rs=Nothing Set db=Nothing End Sub 查看解析 →