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 .
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
Last edited: