ACC2: "Can't Have More Than 10 Fields in an Index" Error MsgID: Q115902
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you use a domain aggregate (totals) function or run a query, you may
receive the following error message:
Can't have more than 10 fields in an index
Field won't fit
The "Can't have more than 10 fields in an index" error message can occur if
all of the following conditions are true:
There are four workarounds for this behavior:
Index Name Field Name
-----------------------
NameIndex Last Name
First Name
to:
Index Name Field Name
-----------------------
LNameIndex Last Name
FNameIndex First Name
Index Name Field Name
------------------------
Primary Key Invoice #
Part #
to:
Index Name Field Name
------------------------
Primary Key Part #
Invoice #
? DLookup("[Birth Date]", "Employees", "[First Name] like 'L*' and _
[Last Name]='Callahan'")
to:
? DLookup("[Birth Date]", "Employees", "[First Name] like 'L*' and _
[Last Name] like 'Callahan*'")
This behavior no longer occurs with the Microsoft Jet database engine
version 2.5, which is available with the Microsoft Access version 2.0
Service Pack. For information about how to obtain the Service Pack,
please see the following article in the Microsoft Knowledge Base:
Q122927 WX1124: Microsoft Access Version 2.0 Service Pack
? DLookup("[Birth Date]", "Test", "[First Name] like 'L*' and _
[Last Name]='Callahan'")
For more information about the error message "Can't have more than 10 fields in an index" search for "error messages: reference" using the Microsoft Access Help menu.
Additional query words: jet25 jet 2.5
Keywords : kberrmsg kbusage QryProb
Version : 2.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 3, 1999