Text conditions

Stimulsoft Reports.Wpf discussion
Post Reply
paulm
Posts: 2
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.
Attachments
Capture.png
Capture.png (16.49 KiB) Viewed 441 times
Lech Kulikowski
Posts: 4149
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: 2
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: 4097
Joined: Fri Jun 09, 2006 3:58 am

Re: Text conditions

Post by Andrew »

Hello,

Okay, great! Closing the case.
Post Reply