Datasheet
ErrorCode ErrorString
2475 You entered an expression that requires a form to be the active window.
2476 You entered an expression that requires a report to be the active
window.
2477 You entered an invalid objecttype value ‘|’ in an If TypeOf object Is
objecttype condition of an If…Then…Else statement. The objecttype
can be any one of the following: BoundObjectFrame, CheckBox,
ComboBox, CommandButton, Label, Line, ListBox,
UnboundObjectFrame, OptionButton, OptionGroup, PageBreak,
Rectangle, Subform, Subreport, TextBox, ToggleButton, ImageControl,
or OLEControl.
2478 Microsoft Access doesn’t allow you to use this method in the current
view. Most methods, including the SetFocus and Requery methods,
can’t be used in form or report Design view.
2479 The event procedure ‘|’ can’t be a Function procedure; it must be a Sub
procedure. If you want to run a Function procedure when an event
occurs, try one of the following:
• Set the event property to the name of a macro containing a RunCode
action that runs the Function procedure.
• Set the event property to =FunctionName().
2480 You referred to a property by a numeric argument that isn’t one of the
property numbers in the collection. Check the property numbers in the
collection.
2481 You can’t set a value while a document is in Print Preview.
2482 Microsoft Access can’t find the name ‘|’ you entered in the expression.
You may have specified a control that wasn’t on the current object
without specifying the correct form or report context. To refer to a con-
trol on another form or report, precede the control name with the name
of a collection, usually either Forms or Reports, and the name of the
form or report to which the control belongs. For example,
Forms![Products]![Units In Stock].
2483 You can’t move to a previous control when only one control has had
the focus. Use the PreviousControl property only after you’ve moved
the focus to a second control.
2484 There is no active datasheet.
2485 Microsoft Access can’t find the macro ‘|.’ The macro (or its macro group)
doesn’t exist, or the macro is new but hasn’t been saved. Note that when
you enter the macrogroupname.macroname syntax in an argument, you
must specify the name the macro’s macro group was last saved under.
Access 2002 and Jet 4 Errors
A
PPENDIX E
E
ACCESS 2002
AND
JET
4
E
RRORS
37










