🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problems with filters

#5128
From: Stuart Gibb
Date: Wed, 18 Jul 2001 13:11
11 lines
1211 bytes
I am having difficulties with the filter property. I wish to filter a dataset whereby only records where a field is less than or equal to an edit box are displayed. An error message to the effect arithmetic operators not recognised is displayed. How can this be avoided.

This is the code I have been trying to use.

UcasPoints->Filter <= Edit1->Text;
or (Dataset1->Filter <= Edit1->Text;)

Any tips greatly appreciated.

Staurt Gibb.
Technical Details
Message-ID: <3b558af6$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,a7f3a4652bb78c41,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-07-18 06:21:53 PST
From: "Stuart Gibb" <s_gibb2@hotmail.com>
Sender: "Stuart Gibb" <s_gibb2@hotmail.com>
Reply-To: "Stuart Gibb" <s_gibb2@hotmail.com>
Subject: Problems with filters
Newsgroups: borland.public.cppbuilder.database.ado
X-User-Info: 193.62.35.219 193.62.35.219    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3b558af6$1_2@dnews>
Date: 18 Jul 2001 06:11:18 -0700
X-Trace: dnews 995461878 207.105.83.65 (18 Jul 2001 06:11:18 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews