Do you know what'd be the equivalent line of the macro action, Echo = No ?
Sam - I copied the following straight out of Access VBA Help for the Echo
method first as it applies to the Application object, followed by the DoCmd
object:
The following example uses the Echo method to prevent the screen from being
repainted while certain operations are underway. While the procedure opens a
form and minimizes it, the user only sees an hourglass icon indicating that
processing is taking place, and the screen isn't repainted. When this task
is completed, the hourglass changes back to a pointer and screen repainting
is turned back on.
Public Sub EchoOff()
' Open the Employees form minimized.
Application.Echo False
DoCmd.Hourglass True
DoCmd.OpenForm "Employees", acNormal
DoCmd.Minimize
Application.Echo True
DoCmd.Hourglass False
End SubAs it applies to the DoCmd object.
The following example uses the Echo method to turn echo off and display the
specified text in the status bar while Visual Basic code is executing:
DoCmd.Echo False, "Visual Basic code is executing."Hope this is helpful.Paul