Did you search in the examples? There are some and this should do the job without using DBUtils:
Dim a Cursor and
B4X:
crNames = SQL1.ExecQuery("SELECT Name FROM Table ORDER BY Naam ASC")
End If
For i = 0 To crNames.RowCount - 1
crNames.Position = i
Listview.AddSingleLine(crNames.GetString("Name"))
Next
Thanks guys, I did try DBUtils but i couldnt get it to work.
Thanks Helen that worked perfectly. I did read through all tutorials
but the problem with a lot of tutorials in B4A i find are a bit complex for a beginner or maybe it is just me.