Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - FilterText
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

FilterText

 Post Reply Post Reply
Author
Message
gduncan View Drop Down
Groupie
Groupie


Joined: 11 November 2009
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote gduncan Quote  Post ReplyReply Direct Link To This Post Topic: FilterText
    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.
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2010 at 1:23am
See FilterSeparatorStrict = True\False
Back to Top
gduncan View Drop Down
Groupie
Groupie


Joined: 11 November 2009
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote gduncan Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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 
 
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....
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.