单选题:窗体中有命令按钮Commandl,事件过程如下:PublicFunction f(x As Integer)As Int

  • 题目分类:Access
  • 题目类型:单选题
  • 查看权限:VIP
题目内容:
窗体中有命令按钮Commandl,事件过程如下:
PublicFunction f(x As Integer)As Integer
Dim Y AsInteger
X=20
y=2
f= X *Y
End Function
PrivateSub Commandl_Click(  )
Dim y As Integer
static x As Integer
x=10
y=5
y=f(x)
Debug.Print x;y
End Sub
运行程序,单击命令按钮,则立即窗口中显示的内容是(   ) A.10;5
B.10;40
C.20;5
D.20;40

参考答案:
答案解析:

要改变窗体上文本框控件的输出内容,应设置的属性是(  )。

要改变窗体上文本框控件的输出内容,应设置的属性是(  )。A.标题 B.查询条件 C.控件来源 D.记录源

查看答案

在数据表视图中,不能进行的操作是(  )。

在数据表视图中,不能进行的操作是(  )。A.删除一条记录 B.修改字段的类型 C.删除一个字段 D.修改字段的名称

查看答案

Access数据库最基础的对象是(  )。

Access数据库最基础的对象是(  )。A.表 B.宏 C.报表 D.查询

查看答案

一Would you like to go to the cinema with us tonight?一______

一Would you like to go to the cinema with us tonight?一________,but I don’t thin

查看答案

执行语句“for(i=1;i++<4;);”后,变量i的值是( )。

执行语句“for(i=1;i++<4;);”后,变量i的值是( )。A.3 B.4 C.5 D.不定

查看答案