When i use ##class(%SQL.Statement).%New() -> .%Execute() and then .%Next() to go through the result set, i could only go through part of the result. And then, i have to call .%NextResult() to go through the next part of the result. BUT, the .%Display() could show all of the result.
How can i go through the full result once,like .%Display()? Or how should i do to go through the full result? Is there anyone can help me? Waitting
!!!





.png)

