Icon SaveToStream Method

procedure SaveToStream(DestStream: TStream)

Usage

Call the SaveToStream method to save the contents of a table, view, or query result set to a stream. You can then use LoadFromStream method to load the data from the stream using another TEDBTable, TEDBQuery, or TEDBStoredProc component.The table, view, or query result set must first be opened or generated by calling the Open, ExecSQL, or ExecProc methods. This method will respect any active filters on the query result set when copying the data to the stream.

Information Do not use this method with very large tables, views, or query result sets. It is recommended that you do not use it with tables, views, or query result sets over a few megs in size. Also, this method is only used in the context of the descendant TEDBTable, TEDBQuery, and TEDBStoredProc components.
Image