Can this be done in the Filter of a DataBand

Stimulsoft Reports.NET discussion
Post Reply
CCS
Posts: 23
Joined: Mon Oct 09, 2023 5:06 am

Can this be done in the Filter of a DataBand

Post by CCS »

IIF
(
VAR_SortBy == "EmployeeID", DBA_Employee.EmployeeId>=VAR_Selection.From && DBA_Employee.EmployeeId>=VAR_Selection.To, DBA_Employee.EmployeeName>=VAR_Selection.From && DBA_Employee.EmployeeName>=VAR_Selection.To
)
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Can this be done in the Filter of a DataBand

Post by Max Shamanov »

Hello,

You can use a ternary operator instead of IIF, and you can add several filters to the databand.

Thank you.
CCS
Posts: 23
Joined: Mon Oct 09, 2023 5:06 am

Re: Can this be done in the Filter of a DataBand

Post by CCS »

OK thanks will try that.
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Can this be done in the Filter of a DataBand

Post by Max Shamanov »

Hello,

Ok.
Let us know about the results.

Thank you.
CCS
Posts: 23
Joined: Mon Oct 09, 2023 5:06 am

Re: Can this be done in the Filter of a DataBand

Post by CCS »

Sorry it took a while to get back.

Actually, it did not work because of the use of String in the variables used to compare. So, I am looking at other ways to do what I want.
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Can this be done in the Filter of a DataBand

Post by Lech Kulikowski »

Hello,

We apologize for the delay, but we need some extra time to investigate the issue thoroughly. We will keep you informed about the result as soon as possible.

Thank you for your patience.
CCS
Posts: 23
Joined: Mon Oct 09, 2023 5:06 am

Re: Can this be done in the Filter of a DataBand

Post by CCS »

OK so there is hope after all.

Nice
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Can this be done in the Filter of a DataBand

Post by Max Shamanov »

Hello,

Could you please send us a sample report with test data that reproduces the issue?

Thank you.
Post Reply