BLOB in TLiteQuery
Posted: Fri 10 May 2013 14:43
I want to show data within a grid component. Most of the fields are strings or numbers and one field is an image - BLOB db field on SQLite.
I'm using the TLiteQuery component to select data from the SQLite-DB. Besides the SELECT statement I define the datatypes to show them in a grid using the DataTypeMapping property of TLiteQuery. Any used fields are working well besides BLOB fields. How do I have to map a BLOB field to show an image in a grid. Without mapping, the grid column only shows [BLOB].
I hope you can help me, thanks in advance.
I'm using the TLiteQuery component to select data from the SQLite-DB. Besides the SELECT statement I define the datatypes to show them in a grid using the DataTypeMapping property of TLiteQuery. Any used fields are working well besides BLOB fields. How do I have to map a BLOB field to show an image in a grid. Without mapping, the grid column only shows [BLOB].
I hope you can help me, thanks in advance.