The RegisterCursorToCloseAfterRun method tells Stonefield Query to close a cursor at the end of a report run. This is used when you have a script that creates a cached result set and you want it closed at the end of the report run so the next run uses current data.
Syntax
RegisterCursorToCloseAfterRun(CursorName as String)
Parameters
CursorName
The name of the cursor to close.
Return Value
None
Example
See http://blog.stonefieldquery.com/2015/02/improving-performance-of-calculated_12.html for an example.
See also
Application Object© Stonefield Software Inc., 2023 • Updated: 06/06/16
Comment or report problem with topic