cc9e8f3e96d20bf171d99a0a9138e883d2a1f01e
FAQ/izenda-and-udfs.md
| ... | ... | @@ -30,13 +30,14 @@ end; |
| 30 | 30 | **2) Add this function to Izenda:** |
| 31 | 31 | ``AdHocSettings.ExtendedFunctions = new string[] { "[dbo].[SafeDivide]" };`` |
| 32 | 32 | |
| 33 | -**3a) You can now choose this function in the 'Fields' tab function drop down for any column. (Functions, as the one above, with more than one input parameter cannot be chosen for a single column in the functions drop-down and must be implemented as an expression)** |
|
| 33 | +**3a) You can now choose this function in the 'Fields' tab function drop down for any column. (Functions, as the one above, with more than one input parameter cannot be chosen for a single column in the functions drop-down and must be implemented as an expression.)** |
|
| 34 | 34 | |
| 35 | 35 |  |
| 36 | 36 | |
| 37 | -**3b) You can also use this function in the 'Fields' tab's [[advanced panel|http://wiki.izenda.us/FAQ/advanced-field-settings]] 'Expression' input box:** |
|
| 37 | +**3b) You can also use this function in the [[Expression|http://wiki.izenda.us/FAQ/UserGuides/15.0-Expressions-in-Izenda]] box on the 'Fields' tab's [[advanced panel|http://wiki.izenda.us/FAQ/advanced-field-settings]]** |
|
| 38 | 38 | ```sql |
| 39 | - CAST(SafeDivide([UnitsInStock], [UnitsOnOrder]) * 100 AS varchar) + '%' |
|
| 39 | + SafeDivide([UnitsInStock], [UnitsOnOrder]) |
|
| 40 | 40 | ``` |
| 41 | +You can also use the Format dropdown to turn the result into your desired format. See the result below for what happens when we use the above expression in our Northwind Traders DataSource. |
|
| 41 | 42 | |
| 42 | 43 |  |
| ... | ... | \ No newline at end of file |