Guides/ReportDesign/3.0-Data-sources-tab.md
... ...
@@ -14,6 +14,21 @@ The screenshot above takes a look at the simple view of the datasources tab. Tab
14 14
15 15
![](/Guides/ReportDesign/3.0-Data-sources-tab/data_sources_checkboxes_2.png)
16 16
17
+###3.1.1 Simple Mode Allow Nulls
18
+
19
+By checking the 'Allow nulls' checkbox, you tell the system to use an OUTER JOIN as its [[join type|http://wiki.izenda.us/FAQ/Questions/Different-Join-Types-and-Filters]]. But the particular OUTER JOIN type used depends on what mode you use. For Simple mode, a FULL OUTER JOIN is used when the 'Allow nulls' checkbox is checked.
20
+
21
+![allow nulls simple]()
22
+
23
+Below is the SQL generated from this selection:
24
+
25
+```sql
26
+SELECT
27
+[dbo].[Orders].[OrderID] AS 'Order ID'
28
+FROM [dbo].[Order Details]
29
+FULL OUTER JOIN [dbo].[Orders] ON [dbo].[Order Details].[OrderID]=[dbo].[Orders].[OrderID];
30
+```
31
+
17 32
##3.2 Admin Tips
18 33
19 34
Report administrators should check out the following code samples for the methods of controlling user access to data sources.
... ...
@@ -56,6 +71,12 @@ The **Join Field** dropdown menu (shown below) is a list of options specifying h
56 71
57 72
Most users choosing to use the Advanced Mode need to have a clear understanding of the database schema to be able to quickly join tables together. Database schemas are blueprints of how the data is organized in the database. This mode does allow for greater flexibility in selecting the types of joins that can be performed, but is not recommended for most users. The database schema for the Northwind example database is displayed below.
58 73
74
+###3.3.2 Advanced Mode Allow nulls
75
+
76
+For Advanced mode, a **LEFT OUTER JOIN** will be used instead of the normal join when 'Allow nulls' is checked.
77
+
78
+![Allow nulls advanced]()
79
+
59 80
##3.4 Join Types
60 81
61 82
The join type dropdown, as described above, is found to the right of the **Foreign key** field when joining Data Sources in Advanced Mode. By default, Izenda will perform a Left Join across the data sources selected. When this dropdown isn't shown, Izenda performs the default join operation.