| property StreamMode: TStreamMode; |
| This property defines how the stream for the report file is maintained. |
smFile
|
This setting uses a TFileStream to store the report file and is very good for large reports, but may run a little slower.
|
smTempFile
|
This will send the output to a temporary file in the \Windows\Temp directory. This filename used by smTempFile is created by the system and will be deleted when you exit the reporting system.
|
smMemory
|
This setting uses a TMemoryStream and is good for small reports to run faster, but do not use this option for reports that may be large.
|
smUser
|
This does not create a stream, but uses the stream that has been assigned to the Stream property before the report was started. The programmer is responsible for creating and freeing the stream if smUser is used.
|
| RvNDRWriter1.StreamMode := smMemory; |
| RvNDRWriter2.FileName := 'TEMP.RpT'; |
| RvNDRWriter2.StreamMode := smFile; |
| RvNDRWriter1->StreamMode = smMemory; |
| RvNDRWriter2->FileName = "TEMP.RPT"; |
| RvNDRWriter2->StreamMode = smFile;
|
|