FAQ/Questions/Custom-Aggregate-Functions.md
... ...
@@ -14,29 +14,29 @@ Yes, you can use as many custom aggregate functions as you like. Within the AdHo
14 14
15 15
The SimpleAggregateFunction class in the AdHoc namespace has multiple overloads that allow for various implicitly named aggregate functions. The parameters are as follows:
16 16
17
-* Overload 1:
18
- * Function - This is the SQL that will perform your custom aggregation function. This can get applied to a SELECTed field or to a field in the GROUP BY clause. Specifying a formatting parameter of "{0}" in your SQL string will tell Izenda to use the Inner Query text as a parameter.
19
-* Overload 2:
20
- * Function - As above.
21
- * Caption - This is the text that will appear in the function dropdown menu on the [[Fields tab|http://wiki.izenda.us/Guides/ReportDesign/4.0-fields-tab]].
22
-* Overload 3:
23
- * Function - As above.
24
- * Caption - As above.
25
- * isGroup - A boolean value specifying whether this is a grouping function.
26
- * isExtraFunction - A boolean value specifying whether this is
27
-* Overload 4:
28
- * Function - As above.
29
- * Caption - As above.
30
- * allowedTypeGroups - A list of SqlTypeGroups that use the associated enumeration to determine for which data types this function is valid.
31
- * isGroup - As above.
32
- * isExtraFunction - As above.
33
-* Overload 5:
34
- * Function - As above.
35
- * Caption - As above.
36
- * allowedTypeGroups - A list of SqlTypeGroups that use the associated enumeration to determine for which data types this function is valid.
37
- * disallowedTypeGroups - A list of SqlTypeGroups that use the associated enumeration to determine for which data types this function is not valid. If allowedTypeGroups is used (not null), this setting has no effect.
38
- * isGroup - As above.
39
- * isExtraFunction - As above.
17
+* **Overload 1**:
18
+ * **Function** - This is the SQL that will perform your custom aggregation function. This can get applied to a SELECTed field or to a field in the GROUP BY clause. Specifying a formatting parameter of "{0}" in your SQL string will tell Izenda to use the Inner Query text as a parameter.
19
+* **Overload 2**:
20
+ * **Function** - As above.
21
+ * **Caption** - This is the text that will appear in the function dropdown menu on the [[Fields tab|http://wiki.izenda.us/Guides/ReportDesign/4.0-fields-tab]].
22
+* **Overload 3**:
23
+ * **Function** - As above.
24
+ * **Caption** - As above.
25
+ * **isGroup** - A boolean value specifying whether this is a grouping function.
26
+ * **isExtraFunction** - A boolean value specifying whether this is
27
+* **Overload 4**:
28
+ * **Function** - As above.
29
+ * **Caption** - As above.
30
+ * **allowedTypeGroups** - A list of SqlTypeGroups that use the associated enumeration to determine for which data types this function is valid.
31
+ * **isGroup** - As above.
32
+ * **isExtraFunction** - As above.
33
+* **Overload 5**:
34
+ * **Function** - As above.
35
+ * **Caption** - As above.
36
+ * **allowedTypeGroups** - A list of SqlTypeGroups that use the associated enumeration to determine for which data types this function is valid.
37
+ * **disallowedTypeGroups** - A list of SqlTypeGroups that use the associated enumeration to determine for which data types this function is not valid. If allowedTypeGroups is used (not null), this setting has no effect.
38
+ * **isGroup** - As above.
39
+ * **isExtraFunction** - As above.
40 40
41 41
And below is what the resulting function could look like.
42 42