Android Question ReadNext access table

dibesw

Active Member
Licensed User
Longtime User
I wish read an access table e.g.:
1111
2222
3333
4444
5555
6666
If I must positioning a row, I do
B4X:
    Table.Initialize(Access.GetTable("TABLE"))
Index.Initialize(Table.GetIndex("PrimaryKey"))
Cursor.Initialize(Table.GetTable, IndexEnt.GetIndex)
CODE=2222
Cursor.FindClosestRowByEntry(Array As Object(CODE))
how do to read the next line? (3333,4444....)
I tried
B4X:
Table.GetNextRow
but does not work
Any help?
Thanks
 

dibesw

Active Member
Licensed User
Longtime User
(Library is Jakccess.).
Yes, if I start from first value I can read all values.
But I have many records and whenever I must positioning from one of this and readnext.
I have found
FindFirstRow
FindNextRow
GetNextRow
but but I did not find any example.
I do not know what to do.
Are still
 
Upvote 0
Top