Hi macerau
So you've got some data in a MySQL database and want to read that data from the database?
You're not trying to access a SQLite DB are you?
Is the database located on your Android device or remotely?
For SQLite I use something like this
Dim SQL1 As SQL
Cursor = SQL1.ExecQuery("SELECT _id, name,column1,column2 FROM table order by name")
For i=0 To Cursor.RowCount-1
Cursor.Position=i
nameVar = Cursor.GetString("name")
Next
Cursor.Close
Is the problem that you've gone past the number of rows in that table? You count to 11 but of course you'd go from 0-11 so actually 12 records. Are there at least 12 records in that table? This is why my code above uses .RowCount-1... This might solve your problems - have you stepped through that code to see how many times it iterates through?
Hope this helps