Re: How to make filter case sensitive?

Tech-Archive recommends: Speed Up your PC by fixing your registry



On Fri, 12 Jan 2007 12:00:00 -0800, Andrew <Andrew@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

¤ Hello, friends,
¤
¤ I am using VB6 and ADO 2.5 to query an Access database. I am using filter to
¤ get certain records I need after filling up a record set:
¤
¤ recSet.Filter = "gbkeycode = '" & keyCodeStr & "'"
¤
¤ However, this filter is NOT case sensitive. As a result, I got wrong records.
¤
¤ How to make this filter case sensitive? Thanks a lot.

As posted in another newsgroup, there is no support for case sensitivity in Access.

You can use the StrComp function in a SQL query but I don't know that it will work with the Filter
property.


Paul
~~~~
Microsoft MVP (Visual Basic)
.



Relevant Pages

  • Re: VB or C# for SQL Server
    ... ¤> No kidding. ... The case sensitivity allows one to enforce a strict coding standard to ... Programming Language. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: How much harder is C than VB?
    ... ¤> combinations of upper/lower case but.... ... I agree with the case sensitivity issue but there are many reasons to use C# ... The selection of C# or VB as your development language is just a matter of choice. ...
    (microsoft.public.vb.general.discussion)
  • Re: HA Issue
    ... And I also found a X10 ... So I'll build that and of couse isolate my scope ... One filter was insufficient. ... IIRC they claim 10mV sensitivity. ...
    (comp.home.automation)
  • Re: HA Issue
    ... I have 3 of the 2000STW lamp modules. ... One filter was insufficient. ... IIRC they claim 10mV sensitivity. ... The MultiSync XV15 monitor has since died and gone to the landfill so I'll ...
    (comp.home.automation)
  • Re: receiver sensitivity, harware vs. software filter?
    ... They say that a receivers sensitivity is proportionate to it's bandwidth. ... to a analog roofing filter. ...
    (comp.dsp)