Save File

Parent Previous Next

Save File

Function to save a report document in a specific path.


Syntax:

void SaveFile(string reportFile, string path):
Save the report document in a specific path

Params:

String reportFile: A String parameter containing the name of the report to be saved.

String path: A string parameter with the path, including a valid extension.


Example:

Save the Report Document named 'Report1' in the path 'C:\Reports\Report1.rtf'.



SVReport.SaveFile("Report1","C:\\Reports\\Report1.rtf");