ACC2002: Mismatched Data Types in Indexes Cause Access to Quit Unexpectedly (282355)
The information in this article applies to:
This article was previously published under Q282355 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS
When you use a Microsoft Visual Basic for Applications (VBA) procedure to seek matching numerical values in a table, Microsoft Access quits unexpectedly when you run the procedure.
CAUSE
The procedure attempts to match values in a field that is defined and indexed as Decimal. Because Decimal is not a VBA data type, the procedure fails and causes Access to quit.
RESOLUTION
To resolve this issue, change the Field Size property of the field in the table from Decimal to either Single or Double.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCESFor more information about indexes, click Microsoft Access Help on the Help menu, type indexed property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbbug kbnofix KB282355 |
---|
|