FAQ/izenda-and-udfs.md
... ...
@@ -34,5 +34,7 @@ end;
34 34
35 35
![Example UDF](http://wiki.izenda.us/FAQ/FAQ/udfs_example.png)
36 36
37
-**3b) You can also use this function in the 'Fields' tab [[advanced panel|http://wiki.izenda.us/FAQ/advanced-field-settings]] - Expression:**
38
-``SafeDivide(SUM([LaborCost]),SUM([SoldHours]))``
... ...
\ No newline at end of file
0
+**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:**
1
+```sql
2
+ SELECT CAST([dbo].SafeDivide(UnitsInStock, UnitsOnOrder) * 100 AS varchar) + '%' FROM Products
3
+```
... ...
\ No newline at end of file