IndexOf function

Stimulsoft Reports.UWP discussion
Locked
drexlcastr
Posts: 3
Joined: Thu May 02, 2013 11:49 pm

IndexOf function

Post by drexlcastr »

I found an example of using the string function IndexOf() in an expression on the Fx board. Is there something similar that works for WinRT? IndexOf doesn't seem to be working for me.

{BusinessObjects.StringColumn.IndexOf("StringToLookFor") > 0}

Any suggestions?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: IndexOf function

Post by HighAley »

Hello.

We need to know structure of your business object.
Please, send us a sample project which reproduces the issue.

Thank you.
drexlcastr
Posts: 3
Joined: Thu May 02, 2013 11:49 pm

Re: IndexOf function

Post by drexlcastr »

I apologize. When I was putting a sample report together I found that the IndexOf function was working just fine. I realized that the logic in my main report was wrong I should have been looking for an index of >= 0. I've fixed the logic and my report is working as it should. Thanks for your quick reply.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: IndexOf function

Post by HighAley »

Hello.

It's great!
Let us know if you will need any additional help.

Thank you.
Locked