FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TCustomFlexCelReport.Run Method (TStream, TStream)

Creates a report, using the template defined in InStream, and outputting it to the stream specified in OutStream.

Pascal
procedure Run(const InStream: TStream; const OutStream: TStream); overload;
C++
__fastcall Run(const TStream InStream, const TStream OutStream);
Parameters 
Description 
const InStream: TStream 
Stream containing the template for the report. 
const OutStream: TStream 
Stream where the result will be written. 

This overload of the method is more flexible than the parameter-less one, in that it allows you to specify a stream for the template and for the generated file. This means you can run the report directly from a template stored in a database directly to another field in the database without any temporary file. 

 

The values contained in Template or FileName properties are ignored when using this method.

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!