🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ADO filter format AND invalide type

#1082
From: Jonathan Dumaresq
Date: Thu, 18 Nov 2004 20:04
22 lines
1494 bytes
hi all,

I just try to port my bde app to ado app.

I have a problem with a filter that work on bde and now dosen't work and 
throw an exception.

here the filter:

filter = "[Date] >= '2004-11-18' AND [Date] < '2004-11-19' AND ([Local] = 
'F102' OR [Local] = 'F103');

If I only put AND  or OR between field no exeption are genereted. But if i 
mix both ..

Arguments are incorrect type, out of authorized limit or in conflic.


bcb6 sp4
regards

Jonathan 
Technical Details
Message-ID: <419d0030@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,a366cc4bae75142,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jonathan Dumaresq" <jdumaresq@cimeq.qc.ca_nospam>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADO filter format AND invalide type
Date: Thu, 18 Nov 2004 15:04:01 -0500
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 205.237.246.110
Message-ID: <419d0030@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1100808240 205.237.246.110 (18 Nov 2004 12:04:00 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail