Datasheet
Number
Description
Error Numbers and Descriptions for Microsoft Access 2007
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.@@1@@@1
2499
You can't use the GoToRecord or SearchForRecord 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.@@2@1@3018@1
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.@1@@@1
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.@@1@@@1
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 Office 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.@1@@@1
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.@@2@1@11313@1
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.@@1@1@11313@1
2505
An expression in argument | has an invalid value.@You tried to run a macro or used the
DoCmd object in Visual Basic. The argument number above is the position of the argument as
it appears in the Macro window, the Action Failed dialog box, or the Object Browser (if you're
using the DoCmd object).@Try one of the following:* Select a setting from the drop-down
list box in each argument.* Use an intrinsic constant equating to a valid object type.*
Substitute the correct corresponding expression.@1@1@11895@1
2506
A value you entered for the Transfer Type argument is invalid.@An expression in the Transfer
Type argument doesn't evaluate to a valid numeric value.@Valid values for the Transfer Type
argument are as follows:* 0, 1, and 2 for the TransferDatabase action.* 0, 1, and 2 for the
TransferSpreadsheet action.* 0 through 6 for the TransferText action.@1@1@11313@1
2507
The | type isn't an installed database type or doesn't support the operation you chose.@You
used the TransferDatabase method, but an expression in the databasetype argument doesn't
evaluate to a valid database type for importing, exporting, or linking.For information on valid
database types, click Help.@@2@1@4780@1
2508
A value you entered for the spreadsheettype argument is invalid.@You used the
TransferSpreadsheet method, and an expression in the spreadsheettype argument doesn't
evaluate to a valid numeric value.@Valid values are 0, 2, 3, 4, 5, 6, 7, and 8. Note that 1 is an
invalid value; you can't import or export to a Lotus .wks format file.@1@1@4781@1
2509
The setting for the Range argument can't be longer than 255 characters.@@@1@1@4781@1
2510
The expression you entered in the Specification Name argument exceeds the 64-character
limit.@Select one of the existing specification names from the argument list box when you use
the TransferText action in a macro, or enter a name in Visual Basic that follows Microsoft
Office Access object-naming rules.@@2@1@11734@1
Copyright (c) 2008 FMS, Inc.
fmsinc.com
Page 24 of 110










