Invalid index definition. (Error 3285)

Applies to: Access 2013 | Access 2016

Possible causes:

You are using the same field twice in an index or relationship, which the Microsoft Access database engine does not permit. You are creating a relationship using fields with data types that don't match. In Microsoft Access database engine databases, you can only relate fields with identical data types or a AutoNumber field with a Number field set to a Long Integer.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.