| View previous topic :: View next topic |
| Author |
Message |
Ximian Guest
|
Posted: Sun Jan 02, 2005 4:05 pm Post subject: Filtering a dataset using the Like Operator |
|
|
Hi & happy new year,
I am facing a strange behavior when using the like operator on a
clientdataset filter.
If I set the like filter to '%USA%' then it doesnt return the USA
result. When I use '%US%' it does return it. But shouldnt the like
operator return exact matches as well?
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Sun Jan 02, 2005 5:06 pm Post subject: Re: Filtering a dataset using the Like Operator |
|
|
It should.
--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
Ximian wrote:
| Quote: | But shouldnt the like operator return exact matches as well?
|
|
|
| Back to top |
|
 |
Ximian Guest
|
Posted: Mon Jan 03, 2005 10:55 pm Post subject: Re: Filtering a dataset using the Like Operator |
|
|
Bill Todd wrote:
Any suggestions?
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Mon Jan 03, 2005 11:03 pm Post subject: Re: Filtering a dataset using the Like Operator |
|
|
1. File a bug report in Quality Central.
2. The only workaround I can think of is to use an OnFilterRecord event
handler that uses the Pos function to check for the existence of the
substring.
--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
Ximian wrote:
|
|
| Back to top |
|
 |
|