Language Reference Guide : 4. System Classes : DataStream Class : Close Method
 
Share this page                  
Close Method
The Close method closes the query (when the DataStream object was opened in QY_CURSOR or QY_DIRECT mode).
This method has the following syntax:
DataStream.Close()
Note:  Closing the data stream does not close the transaction. Therefore, your application must explicitly commit or roll back the transaction.
When you close a data stream that was opened in cache mode, you clear it of all data. Therefore, do not close the query until the end user has selected an operation that uses different data.