Sqlite Data Grid Image

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Quinton B.
Posts: 108
Joined: Mon Mar 20, 2017 5:13 am

Sqlite Data Grid Image

Post by Quinton B. » Sat Apr 01, 2017 4:44 am

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.

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Sqlite Data Grid Image

Post by Klaus » Sat Apr 01, 2017 10:03 am

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

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”