Runs the specified report, outputting it to the specified file.

public bool RunReportToFile(string ReportName,
	string OutputFileName,
	string Values);

Return Value

True if the report ran successfully and the file was created or False if an error occurred or no records match the filter condition (in that case, check the ErrorMessage property of the ReportEngine object for the reason for failure).


The name of the report to run.

The name and path of the file to output the report to. If the file already exists, it's overwritten.

The values for any ask-at-runtime conditions. If it is passed, this parameter must be specified as an XML string with the following format: First valueSecond value

        Put no space between the opening and closing "value" tags to indicate that a condition should be ignored. For example:


See also:

Class ReportEngine