Class ReportEngine

Provides an interface to retrieve information about reports and folders and to run reports. It's not intended to be used from Stonefield Query scripts but rather from code in your application via the SQProxy object. This allows you to run reports from other applications without displaying the Stonefield Query user interface.

System.Object
  SFQWrapper.SQBase
    SFQWrapper.ReportEngine
public class ReportEngine : SQBase

Class Members

MemberDescription

FillTreeView

Clears then fills the passed in TreeView instance with a representation of the Folders and Reports that are in this Stonefield Query instance.

public void FillTreeView(TreeView treeView);

GetFolders

Returns a collection of folders.

public Folders GetFolders(int FolderID);

public Folders GetFolders();

public Folders GetFolders(int FolderID, string userName);

GetReport

Returns information about the specified report.

public Report GetReport(string ReportName);

GetReports

Returns a collection of reports in the specified folder.

public Reports GetReports(int FolderID);

public Reports GetReports();

public Reports GetReports(int FolderID, string userName)

RunReport

Runs the specified report, outputting it to the specified file type, and returns the file as a string.

public string RunReport(string ReportName,     string FileType,     string FileSubType,     string Values);

public string RunReport(string ReportName,     string FileType);

public string RunReport(Report report,     string FileType,     string FileSubType,     string Values);

public string RunReport(Report report,     string FileType);

public string RunReport(string ReportName,     string FileType,     string Values);

RunReportToFile

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

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

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

public bool RunReportToFile(string ReportName,     string OutputFileName);

public bool RunReportToFile(Report report,     string OutputFileName,     string FileType,     string FileSubType,     string Values);

public bool RunReportToFile(Report report,     string OutputFileName,     string Values);

public bool RunReportToFile(Report report,     string OutputFileName);

ErrorMessage

The message for any error that occurred.

Requirements

Namespace: SFQWrapper
Assembly: sfqwrapper.dll

© Stonefield Software Inc., 2024 • Updated: 12/09/11
Comment or report problem with topic