Print Page | Close Window

FilterText

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=16578
Printed Date: 15 November 2024 at 11:27am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: FilterText
Posted By: gduncan
Subject: FilterText
Date Posted: 12 April 2010 at 8:49pm
Hi,
 
I have a report control with a load of charges in it.
I have setup a filter for the list so the user can limit the selection by category.
Some of the categories names have a space in them. eg Freight In, Freight Out.
 
When the text "Freight In" is applied to to the .filtertext property it shows both Freight in and Freight Out items because they both contain the word Freight. ie the words are treated as individual words not as a phrase.
 
Is there a way to get the .filtertext to work against the .Value property as opposed to the .Caption property? That way I could put whatever I liked in the field without it messing up the display.
 
Is there a way to get .filtertext to use the phrase instead of the words? I tried setting up 'Freight In' but it did not work.
 
Any other suggestions would be welcome.
 
Thank you.



Replies:
Posted By: SuperMario
Date Posted: 13 April 2010 at 1:23am
See FilterSeparatorStrict = True\False


Posted By: gduncan
Date Posted: 10 May 2010 at 7:36pm

Yeah, I had seen this but implementing it meant that the filter broke for all other columns.

I ended up making a hidden column and putting ammended values into it such as Freight-In which allowed me to do what I wanted to.
 
I guess what I neeed was a FilterSeparatorStrict per column rather than for the whole control.


Posted By: Aaron
Date Posted: 13 May 2010 at 5:09am
Hi,
 
I didn't test this yet because the Beta expired at that time and don't know if this is implemented in newest version see post https://forum.codejock.com/forum_posts.asp?TID=15718 - https://forum.codejock.com/forum_posts.asp?TID=15718  
 
Good luck
 
btw Would be nice to have more filter functionality with .FilterText, I will add this to my list and wait what CJ thinks about this.
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....



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