Datasheet
ErrorCode ErrorString
2514 The action or method requires a Control Name argument. You tried to
use the GoToControl action or method, but you left the control name
blank. In the Control Name argument, enter a control or field name
from the active form or datasheet.
2515 Microsoft Access can’t open the macro ‘|’ because it was saved using a
different version of Microsoft Access. Re-create the macro in the cur-
rent version of Microsoft Access.
2516 Microsoft Access can’t find the module ‘|.’You tried to use the
OpenModule action or method, but Microsoft Access can’t find the
module you specified in the Module Name argument. Enter a valid
module name from the current database.
2517 Microsoft Access can’t find the procedure ‘|.’
• You may have used the Run method in Visual Basic but entered an
invalid procedure name, or you used the Run method without first
opening a database.
• You tried to use the OpenModule action or method, but you used an
invalid procedure name.
2519 The database must be open for the SelectObject method to run. You
tried to run a function in a library database, and the function contains
the SelectObject method.
2520 The action or method requires a Module or Procedure Name argument.
You tried to use the OpenModule action or method, but you didn’t
enter a name in either the Module Name or the Procedure Name
argument in the Macro window. Enter a valid name in one of these
arguments.
2521 You have specified a Transfer Type that doesn’t support the HTML
Table Name argument. Leave the HTML Table Name argument blank
unless you are using the Import HTML or Link HTML Transfer Types.
2522 The action or method requires a File Name argument. You tried to use
the TransferSpreadsheet or TransferText action or method. In the File
Name argument, enter a file name.
2523 The value you entered for the show argument is invalid. You used the
ShowToolbar method. Valid values for this argument are acToolbarYes,
acToolbarWhereApprop, and acToolbarNo, or the corresponding
numeric values 0, 1, and 2.
2524 Microsoft Access can’t invoke the application using the RunApp
action. The path to the application is invalid, or a component of the
application is missing. Check the path in Windows Explorer or File
Manager.
Appendixes for Web Site
P
ART VI
42










