Page 1 of 1

Sqlite Data Grid Image

Posted: Sat Apr 01, 2017 4:44 am
by Quinton B.
I've just started out in LiveCode and I've been stuck trying to take an image (BLOB) from an SQLite database and display it in a data Grid Form within a row template. I've been looking up how to do this for 5 weeks. Now I don't know if I'm stupid or what. Could someone please help me with this, I would really appreciate it.

Re: Sqlite Data Grid Image

Posted: Sat Apr 01, 2017 10:03 am
by Klaus
Hi Quinton,

1. welcome to the forum! :D

2. Since this is already build-in into Livecode, I will move this thread to the "Beginner" section 8)

3. Basically you:

Code: Select all

...
set the text of image "your image" to the_variable_holding_the_blob_data_from_the_database
...
Please take also a look at this thread: http://forums.livecode.com/viewtopic.php?f=7&t=28984


Best

Klaus