Get_next for external DB which is not an arry

Hi,

I am implementing the get_next in my application, which uses external DB.
my key is similar to the servers sample (string).
for the first entry, I see that the next parameter is -1, therefore I take from my DB the first entry and retrun confD the key (string).
In the next time get_next is called, I receive next=0. since my DB is not an array, I can’t do as the sample did (go to the [next+1] place in the DB. I didn’t find in the keypath the last key I retruned.
How can I find the next entry if my DB is not an array?

thanks
Inbal

Hard to say for us.

You have to maintain some kind of ordering of your database tables and simply return the next element (whatever that mean in your case).