I am working on a mod to a plugin. Currently results of a query are used to present all of the applicable information on the screen with a summary at the end; however, I would like to be able to provide the summary at the beginning.
The two methods of this I can conceive are to save the results of the query to a second variable, step through as needed to get the summary, and then use the second variable to resent the information and repeat the results. Ibelieve this would use extra memory unnecessarily.
The second option I can think of is to run the query, calculate, run the query and display; however, this has the potential of providing two different results. (The second containing more info than the first.)
Isn't there some type of command to return back to the start of the query result or to capture a pointer to the head and reset the query back to the identified position?
Bookmarks