Table of contents
TOC
折叠目录
展开目录

DoCmd.Beep 方法 (访问)DoCmd.Beep Method (Access)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

在 Visual Basic 中的报警操作的报警方法执行。The Beep method carries out the Beep action in Visual Basic.

语法Syntax

表达式发出蜂鸣音expression. Beep

表达式_一个表示DoCmd对象的变量。_expression A variable that represents a DoCmd object.

注解Remarks

此方法没有参数,可以直接用语法都有DoCmd.BeepThis method has no arguments and can called directly using the syntax DoCmd.Beep.

您还可以使用 VBA 命令Interaction.Beep来实现相同的结果。You can also use the VBA command Interaction.Beep to accomplish the same result.

Visual Basic发出报警语句还可以用于使计算机通过其发言人声。You can also use the Visual Basic Beep statement to cause your computer to sound a tone through its speaker.

另请参阅See also

概念Concepts

DoCmd 对象DoCmd Object

© 2018 Microsoft