I used SQLite to make database = test2,
table = stuff:
There are 3 records for [_id] Numeric, [name] Text, [image] Blob
Am wanting to understand how to alternate image1, 2, and 3 on an Imageview (just noticed there is none in the SQL Blob tutorial) using:
After 2 weeks and a bunch of errors I still need help with the syntax.
All tips appreciated.
B4A v4.3
.NET Framework 4.5
table = stuff:
There are 3 records for [_id] Numeric, [name] Text, [image] Blob
Am wanting to understand how to alternate image1, 2, and 3 on an Imageview (just noticed there is none in the SQL Blob tutorial) using:
B4X:
Cursor1 = SQL1.ExecQuery2("SELECT image FROM stuff WHERE name = ?", Array As String("name"))
OR
Buffer = Cursor1.GetBlob2(0) 'ERROR: CursorIndexOutOfBoundsException: Index -1 requested, with a size of 0
After 2 weeks and a bunch of errors I still need help with the syntax.
All tips appreciated.
B4A v4.3
.NET Framework 4.5