Hi,
How can I define my custom collate in Sqlite with UniDAC ?
TIA and best regards
Branko
SQLite custom collation
Hello,
You can look at the custom collation defining example here (in the end of the page): www.devart.com/forums/viewtopic.php?t=18222
You can look at the custom collation defining example here (in the end of the page): www.devart.com/forums/viewtopic.php?t=18222
Hi Andrey
Thank you, but when I want to compile with that code I get error
TAI and best regards
Branko
Thank you, but when I want to compile with that code I get error
Code: Select all
[DCC Error] F_Main.pas(85): E2003 Undeclared identifier: 'RegisterCollation'
[DCC Error] F_Main.pas(85): E2003 Undeclared identifier: 'GetCRConnection'
[DCC Error] F_Main.pas(86): E2003 Undeclared identifier: 'SQLITE_UTF8'
[DCC Error] F_Main.pas(86): E2035 Not enough actual parameters
Branko
Hello,
The UTF sorting for SQLite databases is avaliable in UniDAC 3.00.0.11 or higher version. If you have an earlier version please download the latest 3.50.0.12 version of UniDAC.
If your version of UniDAC is 3.00.0.11 or higher, please check that you added the LiteClassesUni and LiteCallUni units to the USES section.
The UTF sorting for SQLite databases is avaliable in UniDAC 3.00.0.11 or higher version. If you have an earlier version please download the latest 3.50.0.12 version of UniDAC.
If your version of UniDAC is 3.00.0.11 or higher, please check that you added the LiteClassesUni and LiteCallUni units to the USES section.