Android Question retrieve specific fields

RIDWAN_ASWAN

New Member
how to retrieve specific fields in code like this.
I want to take the "name" field only on this loop.

Try
Lis=SqlDb.Query("select id,name,phone from person")
If Lis.IsInitialized=False Then
Msgbox ("Not Found ","Nothing")
Else
For i = 1 To Lis.Size -1
Msgbox ("name = " & Lis.get(i),"")
Next
End If
Catch
Msgbox (LastException.message,"error :")
End Try


thanks .
 

Attachments

  • upload_2018-3-18_19-27-4.png
    146.2 KB · Views: 124
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…