Sub btnNext_Click ' the following code is from a larger Sub that btnNext calls.
Public rs As ResultSet
rs = SQL1.ExecQuery("SELECT rowID FROM table1")
Dim i As Int
For i = 0 To rs - 1
rs.Position = i ' use what instead of rs.Position
myRowIDAdd(rs.GetInt2(0))
Log("current in database = " & rs.Position) how to get rs.Position/row?
Next
End Sub