Error Code Error Description Supported Versions
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.@1@@1
Access 2007+ uses different description: ‘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.@1@@@1’
Access 2003+
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
Access 2007+ uses different description: ‘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’
Access 2003+
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.@@2@603018@1
Access 2007+ uses different description: ‘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’
Access 2003+
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
Access 2007+ uses different description: ‘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’
Access 2003+
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
Access 2007+ uses different description: ‘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’
Access 2003+
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
Access 2007+ uses different description: ‘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’
Access 2010+ uses different description: ‘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.@1@@@1’
Access 2003+
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@611313@1
Access 2007+ uses different description: ‘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’
Access 2003+
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@611313@1
Access 2007+ uses different description: ‘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’
Access 2003+
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@611895@1
Access 2007+ uses different description: ‘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’
Access 2003+
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@611313@1
Access 2007+ uses different description: ‘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’
Access 2003+
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@604780@1
Access 2007+ uses different description: ‘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’
Access 2003+
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@604781@1
Access 2007+ uses different description: ‘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’
Access 2003+
2509 The setting for the Range argument can’t be longer than 255 characters.@@@1@604781@1
Access 2007+ uses different description: ‘The setting for the Range argument can’t be longer than 255 characters.@@@1@1@4781@1’
Access 2003+
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@611734@1
Access 2007+ uses different description: ‘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’
Access 2010+ uses different description: ‘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 Access object-naming rules.@@2@1@11734@1’
Access 2003+
2511 The action or method requires a Specification Name argument.@You tried to use the TransferText action or method and you specified a Transfer Type argument but left the Specification Name argument blank.@In the Specification Name argument, enter an existing specification name from the argument list box.@1@611313@1
Access 2007+ uses different description: ‘The action or method requires a Specification Name argument.@You tried to use the TransferText action or method and you specified a Transfer Type argument but left the Specification Name argument blank.@In the Specification Name argument, enter an existing specification name from the argument list box.@1@1@11313@1’
Access 2003+
2512 Microsoft Office Access can’t parse the expression: ‘|’.@Click OK to return to the action argument or conditional expression where this expression appears, and then correct the syntax.@@1@@1
Access 2007+ uses different description: ‘Microsoft Office Access can’t parse the expression: ‘|’.@Click OK to return to the action argument or conditional expression where this expression appears, and then correct the syntax.@@1@@@1′
Access 2010+ uses different description: ‘Microsoft Access cannot parse the expression: ‘|1’.@Click OK to return to the action argument or conditional expression where this expression appears, and then correct the syntax.@@1@@@1′
Access 2003+
2513 The Macro Name argument can’t be longer than 64 characters according to Microsoft Office Access object-naming rules.@@@1@411734@1
Access 2007+ uses different description: ‘The Macro Name argument can’t be longer than 64 characters according to Microsoft Office Access object-naming rules.@@@1@1@11734@1’
Access 2010+ uses different description: ‘The Macro Name argument can’t be longer than 64 characters according to Microsoft Access object-naming rules.@@@1@1@11734@1’
Access 2003+
2514 The action or method requires a Control Name argument.@You tried to use the GoToControl action or method, but you left the control name blank.@In the Control Name argument, enter a control or field name from the active form or datasheet.@1@611313@1
Access 2007+ uses different description: ‘The action or method requires a Control Name argument.@You tried to use the GoToControl action or method, but you left the control name blank.@In the Control Name argument, enter a control or field name from the active form or datasheet.@1@1@11313@1’
Access 2003+
2515 Microsoft Office Access can’t open the macro ‘|’ because it was saved using a different version of Microsoft Office Access.@Re-create the macro in the current version of Microsoft Office Access.@@1@@1
Access 2007+ uses different description: ‘Microsoft Office Access can’t open the macro ‘|’ because it was saved using a different version of Microsoft Office Access.@Re-create the macro in the current version of Microsoft Office Access.@@1@@@1′
Access 2010+ uses different description: ‘Microsoft Access cannot open the macro ‘|1′ because it was saved using a different version of Microsoft Access.@Re-create the macro in the current version of Microsoft Access.@@1@@@1’
Access 2003+
2516 Microsoft Office Access can’t find the module ‘|.’@You tried to use the OpenModule action or method, but Microsoft Office Access can’t find the module you specified in the Module Name argument.@Enter a valid module name from the current database.@1@@1
Access 2007+ uses different description: ‘Microsoft Office Access can’t find the module ‘|.’@You tried to use the OpenModule action or method, but Microsoft Office Access can’t find the module you specified in the Module Name argument.@Enter a valid module name from the current database.@1@@@1’
Access 2010+ uses different description: ‘Microsoft Access cannot find the module ‘|1.’@You tried to use the OpenModule action or method, but Microsoft Access can’t find the module you specified in the Module Name argument.@Enter a valid module name from the current database.@1@@@1’
Access 2003+

Pages:Previous page Next page