ActiveReports provides you with the ability to create and access data sets that are hosted on an instance of ActiveReports Server. Server shared data sets retrieve data from shared data sources and these data sets can be used in multiple Page or RDL reports.
Using shared data sets, you can update the data set options from one location. For example, if you have multiple reports that use the same shared data set, you only need to update the data set options in one place.
You can access the Shared Data Sets option from the stand-alone designer or the Visual Studio designer. In order to access the server shared data sets, make sure you are connected to ActiveReports Server. See Connecting to ActiveReports Server for further information.
In the Stand-Alone Designer
Access the Server Shared Data Sets dialog from the Server menu of the stand-alone designer.
In the Visual Studio Designer
Access the Server Shared Data Sets dialog from the Report menu (Report > Server> Edit Shared Data Sets) of the Visual Studio designer.
The dialog appears when you click the Shared Data Sets option from the Server menu of the stand-alone designer or the Report menu of the Visual Studio designer. Using the options available in this dialog, users can add, edit or refresh a server shared data set. Operations such as deleting and granting permissions for the shared data set can be performed from the Administrator dashboard. For more information, see Managing Data Sets.
The Server Shared Data Sets dialog consists of the following elements:
Elements | Description |
---|---|
Add | Opens the Server Shared Data Set dialog, that allows users to create a new data set based on the available options for server shared data sets. |
Edit | Allows users to modify the data set properties of the selected data set. |
Refresh | Allows users to refresh the list of data sets on ActiveReports Server. |
ActiveReports allows the ActiveReports Server administrator to work with server shared data sets that are hosted on an instance of ActiveReports Server. This section explains how the administrator can add or edit shared data sets using the Server Shared Data Set dialog.
Property Names | Property Description |
---|---|
Data Source |
Select a server data source from the drop-down list box. See Server Shared Data Sources, for more information. |
Name |
Specify a name for the Server Data Set. |
Description |
Provide a description related to the data set. The description for shared data set is optional. |
Property Names | Property Description |
---|---|
Query | Set the query string based on the selected command type. |
Edit | Open the Visual Query Designer to create SQL queries. For more information, see Visual Query Designer. |
Validate | Validate the query. |
Command Type | You can choose from the three enumerated command types. Text - Choose Text if you want to write a SQL query to retrieve data. StoredProcedure - Choose StoredProcedure if you want to use a stored procedure. TableDirect - Choose TableDirect if you want to return all rows and columns from one or more tables. |
Property Names | Property Description |
---|---|
CaseSensitivity | Set this value to Auto, True, or False to indicate whether to make distinctions between upper and lower case letters. Auto, the default value, causes the report server to get the value from the data provider. If the data provider does not set the value, the report runs without case sensitivity. |
Collation | Choose from Default or a country from the list to indicate which collation sequence to use to sort data. The Default value causes the report server to get the value from the data provider. If the data provider does not set the value, the report uses the server locale. This is important with international data, as the sort order for different languages can be different from the machine sort. |
KanaTypeSensitivity | Set this value to Auto, True, or False with Japanese data to indicate whether distinctions are made between Hiragana and Katakana kana types. Auto, the default value, causes the report server to get the value from the data provider. If the data provider does not set the value, the report runs without kana type sensitivity. |
WidthSensitivity | Set this value to Auto, True, or False with Japanese data to indicate whether distinctions are made between single-byte (half-width) characters and double-byte (full-width) characters. Auto, the default value, causes the report server to get the value from the data provider. If the data provider does not set the value, the report runs without width sensitivity. |
AccentSensitivity | Set this value to Auto, True, or False to indicate whether distinctions are made between accented and unaccented letters. Auto, the default value, causes the report server to get the value from the data provider. If the data provider does not set the value, the report runs without accent sensitivity. |
Property Names | Property Description |
---|---|
Fields | Displays a list of fields in the Fields box. To see the fields in the field box, enter a valid query, table name, or stored procedure on the Query page. For more information, see Use Fields in Reports. |
Add | Create a new field in the data set. |
Delete |
Remove the selected field from a data set. |
Name | Specify a name for the field. |
Value | Enter a value for the field or create an expression using the expression editor to determine the value. |
Property Names | Property Description |
---|---|
Name | Set a name for the parameter in this field. The value you supply here appears in the parameters list and must match the corresponding query parameter. |
Data type |
Set the data type for the parameter which must match the data type of the field that it filters. The interface presented might also differ depending on the data type.
|
Prompt |
Enter the text you want to see on the user interface to request information from the user in this field. By default this is the same as the Name property. |
Name | Specify the name of the field. |
Multivalue | Select this check-box to allow the user to select multiple items in the available values list. |
Multiline | Select this check-box to allow multiline values in the parameter. The control automatically adjusts to accommodate multiple lines. |
Hidden | Select this check-box to hide the parameter interface from the user and instead provide a default value or pass in values from a subreport or drill-through link. Please note that if you hide the user interface and do not provide a default value, the report will not run. |
Allow null value | Select this check-box if you want to allow null values to be passed for the parameter. It is not selected by default. |
Allow blank value | Select this check-box if you want to allow blank values to be passed for the parameter. It is not selected by default. |
Property Names | Property Description |
---|---|
Add | Create a new filter for the data set. |
Delete | Remove a filter from the data set. |
Expression |
Type or use the expression editor to provide the expression on which to filter data. |
Operator | Select a operator from the drop-down box to compare the expression. See Operator options, for further information. |
Value | Enter a value to compare with the expression based on the selected operator. |