Article View: borland.public.cppbuilder.database.ado
Article #4170Can We Use Nested Filters?
From: Richard Walls
Date: Fri, 08 Mar 2002 09:50
Date: Fri, 08 Mar 2002 09:50
12 lines
1466 bytes
1466 bytes
I'm trying to write code that will recognize nested filters on an ADODataSet. On the first right click, the filter works fine. (I set the filter property to something like "Country = 'USA'") On the second right click, I wanna set a different field to be filtered from the current filter. At this point my filter property looks like this: "County = 'USA' and Weather = 'Cold'". However the second filter never gets executed, just the first the one. I've tried replacing the "and" with "or" but that didn't work. Any suggestions? Rich
Technical Details
Message-ID:
<3c888982$2_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!sienna.impulse.net!newsfeed.online.be!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,4bc14f5977c1751c,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-03-08 02:04:41 PST From: "Richard Walls" <rwalls@geodigital-tech.com> Sender: "Richard Walls" <rwalls@geodigital-tech.com> Reply-To: "Richard Walls" <rwalls@geodigital-tech.com> Subject: Can We Use Nested Filters? Newsgroups: borland.public.cppbuilder.database.ado X-User-Info: 4.41.212.131 4.41.212.131 NNTP-Posting-Host: 207.105.83.65 Message-ID: <3c888982$2_1@dnews> Date: 8 Mar 2002 01:50:58 -0800 X-Trace: dnews 1015581058 207.105.83.65 (8 Mar 2002 01:50:58 -0800) Lines: 13 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!sienna.impulse.net!newsfeed.online.be!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews