Print Page | Close Window

FilterText matching on 'Starts With'

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=21688
Printed Date: 27 November 2024 at 6:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: FilterText matching on 'Starts With'
Posted By: jasonl
Subject: FilterText matching on 'Starts With'
Date Posted: 02 June 2013 at 11:57pm
The standard behavior of FilterText appears to show any ReportRecord that has a ReportRecordItem that 'contains' the FilterText.  Is it possible to have it filter on 'starts with'?

So for example, if there were 3 Records.
Apple
Banana
Orange

Using 'contains' FilterText ="A" it would show 2 records.  This is the current behavior.
Apple
Banana

Using 'starts with' FilterText ="A" it would only show 1 record.
Apple




Replies:
Posted By: SuperMario
Date Posted: 03 June 2013 at 12:05am
There is a strict option, I don't have sources in-front of me at the moment, but look for the strict option.  I cant remember if there is a starts with however, I don't believe there is.


Posted By: jasonl
Date Posted: 03 June 2013 at 12:20am
Thanks for the quick reply.  According to the documentation, FilterSeparatorStrict doesn't appear to offer 'starts with' functionality.

FilterSeparatorStrict specifies whether text filtering will compare text in the " rel="nofollow - FilterText  property using the logical "AND" or the logical "OR" if the " rel="nofollow - FilterText  property contains strings separated by spaces


Posted By: SuperMario
Date Posted: 03 June 2013 at 2:34am
As far as I know that is all there is.  It wouldn't be hard to add this extra condition yourself however.  Check the first letter before setting the text, if its false then don't set the text.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net