“unsupported collating sort order” when trying to read from Access using Jackcess (Java)

前端 未结 1 432
既然无缘
既然无缘 2020-12-11 10:07

I\'m currently working on a Java application with the purpuose of reading a Microsoft Access file using Jackcess open source library. The Java application will later present

相关标签:
1条回答
  • 2020-12-11 10:50

    Jackcess only supports indexes on Text fields in an Access database when the database is using the "General" sort order (ref: here).

    According to the related Microsoft Office support page:

    To reset the sort order for an existing database, select the language you want to use and then run a compact operation on the database.

    So, for Access 2010 that would presumably mean selecting File > Options from the Access ribbon bar, choosing "General" or "General - Legacy" for the "New database sort order" on the "General" tab, ...

    screenshot

    ... then performing a "Compact and Repair" on the database.

    Note: If Windows is using a non-English locale then the procedure described above might not rectify the problem. See this answer for details.

    0 讨论(0)
提交回复
热议问题