11ccb74bd4c5e5a80866f2256c43500eff744180
FAQ/applying-hidden-filter-using-inner-query.md
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | |
| 5 | 5 | **Note:** Use the below method only when you have a large number of values. Normaly you don't have to add filters via inner query. Please use AdHocSettings.HiddenFilters instead. |
| 6 | 6 | |
| 7 | -##Hidden Filter C♯ |
|
| 7 | +##Using a Hidden Filter |
|
| 8 | 8 | |
| 9 | 9 | For this example, we will use the Northwind database as our datasource. |
| 10 | 10 | Here is our sample report in the report designer: |
| ... | ... | @@ -30,6 +30,8 @@ After booting up our application and running our report, here is what we get: |
| 30 | 30 | |
| 31 | 31 | ##Hidden Filter with SQL Override |
| 32 | 32 | |
| 33 | +###C♯ |
|
| 34 | + |
|
| 33 | 35 | ```csharp |
| 34 | 36 | public override void PreExecuteReportSet(ReportSet reportSet) |
| 35 | 37 | { |
| ... | ... | @@ -44,6 +46,8 @@ public override void PreExecuteReportSet(ReportSet reportSet) |
| 44 | 46 | } |
| 45 | 47 | ``` |
| 46 | 48 | |
| 49 | +###VB.NET |
|
| 50 | + |
|
| 47 | 51 | ```visualbasic |
| 48 | 52 | Public Overrides Sub PreExecuteReportSet(ByVal reportSet As Izenda.AdHoc.ReportSet) |
| 49 | 53 | MyBase.PreExecuteReportSet(reportSet) |