API/CodeSamples/ShowJoinAliasTextboxes.md
... ...
@@ -22,7 +22,12 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig
22 22
//Creates a connection to Microsoft SQL Server
23 23
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE";
24 24
Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig();
25
- AdHocSettings.ShowJoinAliasTextboxes = true; //the relevant setting
25
+
26
+
27
+ AdHocSettings.ShowJoinAliasTextboxes = true; // Enable join alias text boxes
28
+
29
+
30
+
26 31
HttpContext.Current.Session["ReportingInitialized"] = true;
27 32
}
28 33
}
... ...
@@ -45,7 +50,9 @@ Public Class CustomAdHocConfig
45 50
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"
46 51
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"
47 52
Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig()
48
- AdHocSettings.ShowJoinAliasTextboxes = True 'The relevant setting
53
+
54
+ AdHocSettings.ShowJoinAliasTextboxes = false; // Disable join alias text boxes
55
+
49 56
HttpContext.Current.Session("ReportingInitialized") = True
50 57
End Sub
51 58
End Class