ACC2000: "The Constant You Entered for the Control Type Is Invalid" Error When You Add a Drop-down List Box to a Form or a Report (283208)
The information in this article applies to:
This article was previously published under Q283208 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SYMPTOMS
When you click the drop-down list box control in the toolbox in a form or a report, you receive the following error message:
The constant you entered for the control type is invalid. For a list of valid constants you can use to create a control, click Help.
The error message has an OK button and a Help button. If you click the OK button, the error message is displayed again, and you are unable to close the error message. Your only option is to use CTL+ALT+DEL to quit Microsoft Access.
CAUSE
You have customized the form or report toolbox to include the drop-down list box control, which is not a control available for use on a form or a report.
The combo box and the list box are the valid objects of this type available for a form or report object. The drop-down list box control is designed for use on data access pages.
If you try to use the drop-down list box on a form or a report, you will receive the error message listed in the "Symptoms" section of this article.
RESOLUTION
Use a combo box or list box control for forms or reports. Use the drop-down list box control only on data access pages.
REFERENCESFor more information about the drop-down list box control, click Microsoft Access Help on the
Help menu, type drop-down list box in the Office Assistant or
the Answer Wizard, and then click Search to view the topics
returned.
Modification Type: | Major | Last Reviewed: | 12/12/2002 |
---|
Keywords: | kbdta kberrmsg kbprb KB283208 |
---|
|