🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4376

TADOTable Filter problem

#4376
From: szumi
Date: Thu, 17 Jan 2002 17:25
24 lines
1400 bytes
Hi

ADOTable->Filter = "(Field1 = 'Value1') OR (Field1= 'Value2' AND Field2
= 'Value3')

works properly,
but:

ADOTable->Filter = "(Field1 = 'Value1' OR Field1= 'Value2') AND (Field2
= 'Value3')

following exception occurs:
"EOleException with message 'The application is using arguments 
that are of the wrong type, are out of acceptable range, or are 
in conflict with one another'"

where is the problem?

I have BCB5 + BCB5EntUpdate1.exe + BCB5ADOUpgrade1.exe

Regards

-- 
Jacek Szumigaj
Technical Details
Message-ID: <3C47091A.CCBCA21E@kki.net.pl.no.spam>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!netnews.com!xfer02.netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,921f8f389fd498a9,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-01-17 09:29:29 PST
Message-ID: <3C47091A.CCBCA21E@kki.net.pl.no.spam>
Date: Thu, 17 Jan 2002 18:25:46 +0100
From: szumi <szujac@kki.net.pl.no.spam>
Reply-To: szujac@kki.net.pl.no.spam
X-Mailer: Mozilla 4.61 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.ado
Subject: TADOTable Filter problem
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.197.160.239
X-Trace: dnews 1011288359 217.197.160.239 (17 Jan 2002 09:25:59 -0800)
Lines: 24
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!netnews.com!xfer02.netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews