L Linde Vermeulen Member Licensed User May 6, 2019 #1 last week I have bought B4A en B4i and starting to develop a little program that uses SQLite database. To make a layout and a menu.bas file with the funcionality I need is not the problem. Also the connection with the database works. What I can not find is how to connect my SQLite database to my xCustomListView layout. Can you tell me where I can find a tutorial about that subject?
last week I have bought B4A en B4i and starting to develop a little program that uses SQLite database. To make a layout and a menu.bas file with the funcionality I need is not the problem. Also the connection with the database works. What I can not find is how to connect my SQLite database to my xCustomListView layout. Can you tell me where I can find a tutorial about that subject?
Erel B4X founder Staff member Licensed User Longtime User May 6, 2019 #2 There are two steps: 1. Reading the data from the table. 2. Adding the items to CLV based on the data. Working with SQL: https://www.b4x.com/android/forum/threads/sql-tutorial.6736/#content Consider using B4XTable. Example: https://www.b4x.com/android/forum/threads/b4x-b4xtable-load-data-from-sql-database.102520/#content Upvote 0
There are two steps: 1. Reading the data from the table. 2. Adding the items to CLV based on the data. Working with SQL: https://www.b4x.com/android/forum/threads/sql-tutorial.6736/#content Consider using B4XTable. Example: https://www.b4x.com/android/forum/threads/b4x-b4xtable-load-data-from-sql-database.102520/#content
L Linde Vermeulen Member Licensed User May 12, 2019 #3 Thanks Erel, the B4XTable works just fine for me. Upvote 0