Datasheet
ErrorCode ErrorString
2486 You can’t carry out this action at the present time. You tried to run a
macro or used the DoCmd object in Visual Basic to carry out an action.
However, Microsoft Access is performing another activity that prevents
this action from being carried out now. For example, no actions on a
form can be carried out while Microsoft Access is repainting a control
or calculating an expression. Carry out the action later.
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 argu-
ments, 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 set-
ting. 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.
Appendixes for Web Site
P
ART VI
38










