Question
· Oct 10, 2016

[Solved]Reset the cursor of a Query (resultset)

Hello,

 

First sorry for my english :)

 

I'm looking for a solution to reset the cursor of a query in a csp page.

In my code I do:

<csp:query name="users" classname="UserId" queryname="Find">
 <csp:while condition="users.Next()">
         ...
 </csp:while>

 

And 100 lines after I have to do exactly the same ...

Is it a way to do the while without do the query again ?

Something like users.Reset() ??

 

Thanks a lot for your help

 

Sébastien

Discussion (2)0
Log in or sign up to continue