Hi Ahmad,
thanks for your hint.
But I need to retrieve records from the query since I’m using them to fill a repeater.
With HasNext then I need to activate a next button to go to the next page of the repeater.
For now I have a workaround, that is using the full query in the page, but I just wanted to understand how to use HasNext after a called function for future usage.
Thanks a lot
David