FAQ/Questions/Using-Stored-Procedures-In-Izenda-6.md
... ...
@@ -89,11 +89,11 @@ These fields represent the input parameters of the SP, and can not be used as ou
89 89
To assign values to parameters of your SP, you need to select the field from the previous step (the one with "(Param)" at the end of name), then select the "Equals" operator, and type in the value for the parameter. In our example, we used the name "Gourmet" as our filter value. Now the report can be saved and executed. If you were following along, then you should have a datatable with the data [described above](#SampleOutput).
90 90
91 91
92
-##Using the Equals(...) operator with SPs
92
+##Using extended Equals operators (Equals(Multiple); Equals(Popup); etc) with SPs
93 93
94 94
Within the Izenda Report Designer are filter options that allow you to select a value from a list instead of typing the value directly. When only using table names as data sources, these work just fine. You just select the field name and AdHoc fetches all values for that field from the data source in the database, groups them, and pulls them into the dropdown control. If SPs are used as data sources, this becomes a bit more complex. This is due to a couple of factors:
95 95
96
-* **Input parameters:** These are denoted with (Param) beside their names and must satisfy the SP's requirements for input. (i.e. having two required input parameters means using two filters whenever the SP is used) **Input parameters can NOT be used with the Equals(...) operator as their possible values cannot be determined.**
96
+* **Input parameters:** These are denoted with (Param) beside their names and must satisfy the SP's requirements for input. (i.e. having two required input parameters means using two filters whenever the SP is used) **Input parameters can NOT be used with the extended Equals operators as their possible values cannot be determined.**
97 97
* **Output Fields:** These are the fields returned by the SP. Izenda detects what valid values can be selected with the given input parameters. **The list of output values can ONLY be built when all input parameters have defined values.**
98 98
99 99
In other words, you can only get a list of values for the **output fields** when values for all **input parameters** have been defined.
... ...
@@ -104,15 +104,15 @@ We will demonstrate how this works using the **SalesByCategory** SP in the **Nor
104 104
AdHocSettings.VisibleDataSources = new string[] {"SalesByCategory"};
105 105
```
106 106
107
-Also, you need to set the [[AllowEqualsSelectForStoredProcedures|/API/CodeSamples/AllowEqualsSelectForStoredProcedures]] setting to true to allow usage of the Equals(...) operators for Stored Procedures. After this, you will be able to select SalesByCategory as data source, and select Equals(...) operators for its fields. Once you have done so, you should be able to see the below fields available in your "Fields" dropdown on the ReportDesigner.
107
+Also, you need to set the [[AllowEqualsSelectForStoredProcedures|/API/CodeSamples/AllowEqualsSelectForStoredProcedures]] setting to true to allow usage of the extended Equals operators for Stored Procedures. After this, you will be able to select SalesByCategory as data source, and select extended Equals operators for its fields. Once you have done so, you should be able to see the below fields available in your "Fields" dropdown on the ReportDesigner.
108 108
109 109
![Fig. 1: SalesByCategory](http://www.izenda.com/Site/KB/Uploads/Images/dhj3phkc_174gmzpr5fj_b.png)
110 110
111
-**CategoryName** and **OrdYear** are input parameters (denoted with **(Param)**) whereas **ProductName** and **TotalPurchase** are output fields. After clicking on the "Filters" tab, we can set pre-defined values for our input parameters using a standard Equals operator, since they will be passed to our SP instead of being used in the query. After doing so, we can use the Equals(...) operators with our output fields. Below, we have used the values "Beverages" and "1997" for our input parameters.
111
+**CategoryName** and **OrdYear** are input parameters (denoted with **(Param)**) whereas **ProductName** and **TotalPurchase** are output fields. After clicking on the "Filters" tab, we can set pre-defined values for our input parameters using a standard Equals operator, since they will be passed to our SP instead of being used in the query. After doing so, we can use the extended Equals operators with our output fields. Below, we have used the values "Beverages" and "1997" for our input parameters.
112 112
113 113
![Fig. 2: Filters Using SPs]()
114 114
115
-After this, you can get a list of predefined values for any output fields using the Equals(...) operators. Below, we have selected the **Equals (Multiple)** and **Equals (Select)**
115
+After this, you can get a list of predefined values for any output fields using the extended Equals operators. Below, we have selected the **Equals (Multiple)** and **Equals (Select)**
116 116
117 117
![Fig. 3: Output Fields With SPs]()
118 118