d5610494483a77149a8f458b84626b713ddc9a93
API/CodeSamples/SubCalculationFilterRegex.md
| ... | ... | @@ -8,7 +8,7 @@ Gets or sets a regular expression which determines which fields should be exclud |
| 8 | 8 | |
| 9 | 9 | **Default Value:** |
| 10 | 10 | |
| 11 | -Before version 6.10.0.35: |
|
| 11 | +Before version 6.10.0.35: ID$|Id$|^id$|_id$ |
|
| 12 | 12 | |
| 13 | 13 | After version 6.10.0.35: blank |
| 14 | 14 | |
| ... | ... | @@ -27,7 +27,7 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig |
| 27 | 27 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"; |
| 28 | 28 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"; |
| 29 | 29 | Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig(); |
| 30 | - AdHocSettings.SubCalculationFilterRegex = x; //The relevant setting |
|
| 30 | + AdHocSettings.SubCalculationFilterRegex = "ID$|Id$|^id$|_id$"; //The relevant setting |
|
| 31 | 31 | HttpContext.Current.Session["ReportingInitialized"] = true; |
| 32 | 32 | } |
| 33 | 33 | } |
| ... | ... | @@ -48,7 +48,7 @@ Public Class CustomAdHocConfig |
| 48 | 48 | AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE" |
| 49 | 49 | AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE" |
| 50 | 50 | Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig() |
| 51 | - AdHocSettings.SubCalculationFilterRegex = x 'The relevant setting |
|
| 51 | + AdHocSettings.SubCalculationFilterRegex = "ID$|Id$|^id$|_id$" 'The relevant setting |
|
| 52 | 52 | HttpContext.Current.Session("ReportingInitialized") = True |
| 53 | 53 | End Sub |
| 54 | 54 | End Class |