public class wrApiReportOptions
Provides additional options of the API object's active report. This object can be used, for example, to create a Custom SQL Object in a report via the API.
When the DataSourceId Property, EntityName Property, SqlStmt Property and Keys Property are set, the Manage Data Objects dialog of the Report Designer and the Data Objects Pane in the ExpressView Designer are disabled.
Optionally, use the Api object's SuppressFiltersInterface Property and SuppressSortsInterface Property to disable the user from adding sorts and filters to the report in the Designers.
public class wrApiReportOptions
wrApiReportOptions reportOptions = api.ApiReportOptions; reportOptions.DataSourceId = 0; reportOptions.EntityName = "SomeEntityName"; reportOptions.SqlStmt = "SELECT * FROM Product"; reportOptions.Keys = "OrderId,ProductId";
System.Object
WebReports.Api.wrApiReportOptions