iOS Question How to judge whether there are records in the sqlite query result?

watesoft

Active Member
Licensed User
Longtime User
In B4I , How to judge whether there are records in the sqlite query result?
In B4A, I can use:
B4X:
If cur.RowCount>0 Then
     i=k+1  
else
     i=k
end if
 

watesoft

Active Member
Licensed User
Longtime User
What exactly are you trying to do?

If you are only interested in finding out whether there are results or not:
B4X:
If rs.NextRow Then
 'There are results
Else
 'There are no results
End If

Yes,thanks Erel.
 
Upvote 0
Top