Text conditions

Stimulsoft Reports.WPF discussion
Post Reply
paulm
Posts: 14
Joined: Tue Oct 19, 2021 7:11 am

Text conditions

Post by paulm »

Hello,

I've got a problem with text conditions. I have one field with some letters. I've created a condition with "not containing D" in the conditions window, but if the text contains "d", the condition also works. I need the condition only works with "D", no with the "d" letter.

Is it possible to do that?

Thanks a lot!
Best regards.
Last edited by paulm on Thu May 12, 2022 9:32 am, edited 1 time in total.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Text conditions

Post by Lech Kulikowski »

Hello,

In that case, you can use the following expression:
!datasourcenames.columnname.Contains("D")

Thank you.
paulm
Posts: 14
Joined: Tue Oct 19, 2021 7:11 am

Re: Text conditions

Post by paulm »

Lech Kulikowski wrote: Tue Oct 19, 2021 8:24 am Hello,

In that case, you can use the following expression:
!datasourcenames.columnname.Contains("D")

Thank you.
Wow, now it works.

Thanks a lot!
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Text conditions

Post by Andrew »

Hello,

Okay, great! Closing the case.
Post Reply