2487
- The Object Type argument for the action or method is blank or
invalid. For a Close, GoToRecord, or RepaintObject action, enter
values for both arguments, or leave both blank to perform the
action on the active object.* For a DeleteObject, Rename, or
CopyObject action, enter values for both arguments, or leave
both blank to perform the action on the object currently
selected in the Database window.* For a SendObject or OutputTo
action, enter values for both arguments, or leave the Object
Name argument blank if you want the action performed on the
active object of the specified object type.* If you're using a
method with the DoCmd object, use an intrinsic constant that
equates to a valid object type or the corresponding numeric
value for the argument name.
2488 - You can't use the
ApplyFilter action on this window. You tried to use the
ApplyFilter action or method, but you didn't apply the filter to
a table, query, form, or report.* You may have applied the
filter to a form, but the form wasn't open in Form or Datasheet
view.* You may have applied the filter to a report but didn't
use the ApplyFilter action in a macro specified by the OnOpen
property setting. Use the SelectObject action or method to
select the table, query, form, or report before applying the
filter.
2489 - The object ... isn't
open. The macro you are running (directly or indirectly)
contains a GoToRecord, RepaintObject, or SelectObject action,
but the Object Name argument names an object that is closed.*
The objectname argument for the GoToRecord, RepaintObject, or
SelectObject method names an object that is closed. Use one of
the Open actions or methods to open the object so that you can
carry out the desired action.
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 ... in the macro group ....'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 argument,
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 arguments.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.
2499 - You can't use the
GoToRecord action or method on an object in Design view. Try one
of the following:* Switch to Form or Datasheet view for a form.*
Switch to Datasheet view for a query or table.* If you are
running a macro or Visual Basic procedure containing an action
that opens the object, set the View argument to the correct view
before you carry out the GoToRecord action.
2500 - You must enter a
number greater than zero for a Repeat Count argument.You tried
to use the RunMacro action or method, but you entered a value
less than zero (or an expression that evaluates to less than
zero) in the Repeat Count argument. To run the macro once, leave
this argument blank.
2501 - The | action was
canceled.You used a method of the DoCmd object to carry out an
action in Visual Basic, but then clicked Cancel in a dialog
box.For example, you used the Close method to close a changed
form, then clicked Cancel in the dialog box that asks if you
want to save the changes you made to the form.
2502 - The action or method
requires a Macro Name argument. You tried to use the RunMacro
action or method, but you left the Macro Name argument blank.*
Microsoft Access tried to create a custom menu bar for a form or
report, but the Menu Macro Name argument of the AddMenu action
is blank. In the Menu Macro Name argument, enter the name of a
macro or macro group that is in the current database.
2503 - You can't use this
action with the DoCmd object. For a list of the actions that the
DoCmd object doesn't support and some alternatives to using
these actions, click Help.Any actions that aren't in this list
can be used with the DoCmd object.
2504 - The action or method
requires at least | argument(s).You tried to run a macro
containing an action or used a method or action with the DoCmd
object, but you didn't set the required number of arguments.For
example, if you use the MoveSize action, you must set at least
one of the four arguments.
< Previous
Next > |
|
|