Hi all,
I have a DBLookupListBox connected to an SQLite database. I previously had an issue where all entries were appearing in the box as (MEMO) instead of displaying the string. Someone on here suggested I cast the entries as CHAR. I've been using the following query for 2 years with no issues:
SELECT CAST(Issue AS CHAR) AS Issue, ID FROM MasterProtocol
Without me changing anything other than FPC/Lazarus version (and I presume Sqlite version as well), this has suddenly stopped working and is now displaying (MEMO) in place of the actual data again. I have tried casting to VARCHAR and TEXT, have tried ensuring the field definition in the query is a String, both in the inspector and in code. Nothing works - I can't get this to display anything but (MEMO) in the DBLookupListBox. Very confusing and frustrating, I have several of these in my program so it's basically broken at the moment until I can figure this out.
Current SQlite version is 3.45.1
Oh and I doubt it's relevant but I did change from using Fedora to using Mint as well.
Any help is appreciated, thanks a lot for your time.