Datasheet
ErrorCode ErrorString
2491 The action or method is invalid because the form or report isn’t bound
to a table or query. You tried to use the ApplyFilter action or method.
However, the form or report you applied the filter to is not based on a
table or query, so the form or report doesn’t have any records to apply
a filter to. Use the SelectObject action or method to select the desired
form or report before you run the ApplyFilter action. To base a form or
report on a table or query, open the form or report in Design view, and
enter the table or query name in the RecordSource property.
2492 Microsoft Access can’t find the macro ‘|2’ in the macro group ‘|1.’You
used the macrogroupname.macroname syntax to specify a macro. You
then tried to run the macro (directly or indirectly), or you used the
RunMacro method to run the macro. However, the macro you specified
isn’t in this macro group. Create the macro in the macro group, specify
the correct macro group, or specify the correct macro name.
2493 This action requires an Object Name argument.
2494 The action or method requires a Form Name argument. You tried to use
the OpenForm action or method, but you left the Form Name argument
blank. In the Form Name argument, enter the name of a form in the
current database.
2495 The action or method requires a Table Name argument. You tried to use
the OpenTable, TransferSpreadsheet, or TransferText action or method,
but you left the Table Name argument blank. In the Table Name argu-
ment, enter the name of a table that is in the current database.
2496 The action or method requires a Query Name argument. You tried to
use the OpenQuery action or method, but you left the Query Name
argument blank. In the Query Name argument, enter a query name.
2497 The action or method requires a Report Name argument. You tried to
use the OpenReport action or method, but you left the Report Name
argument blank. In the Report Name argument, enter the name of a
report.
2498 An expression you entered is the wrong data type for one of the argu-
ments. You tried to run a macro or use a method to carry out an action,
but an expression evaluated to the wrong data type. For example, for
the Close method you specified a string for the Object Type argument,
but this argument can be set only to certain intrinsic constants or their
numeric equivalents.
Access 2002 and Jet 4 Errors
A
PPENDIX E
E
ACCESS 2002
AND
JET
4
E
RRORS
39










