Microsoft Access VBA Programming for the Absolute Beginner

Controls whether the Access interface is repainted.

Syntax

DoCmd.Echo EchoOn[, StatusBarText]

with the following parameters:

EchoOn

An Integer or Boolean that indicates whether interface repainting is on.

StatusBarText

A String containing the text to appear in the application’s status bar as a result of the method call.

Example

Private Sub Form_Load() DoCmd.Echo False, "Application loading..." DoCmd.Hourglass True ' Load images for opening screen DoCmd.Echo True, "Screen update turned on..." DoCmd.Hourglass False End Sub

Comments

Категории