ACC: Echo Action Without Any Argument Causes Error (101126)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q101126
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
In Microsoft Access 7.0 and 97, if you leave the Echo On argument
out of the Echo action in a module, you may receive the error message,
"Argument Not Optional."
In Microsoft Access 1.x and 2.0, if you leave the Echo On argument
out of the Echo action in a module, you may receive the error message,
"Expected: Expression."
RESOLUTION
Although the Microsoft Access Help system states that the default
argument for the Echo action is Yes, you must include the argument in
the line of code in order for the action to run properly.
REFERENCES
For more information about the Echo action, search the Help Index for
"Echo," and then "Echo Action," or ask the Microsoft Access 97 Office
Assistant.
Modification Type: | Major | Last Reviewed: | 5/6/2003 |
---|
Keywords: | kbprb KB101126 |
---|
|